This commit is contained in:
aozhiwei 2022-12-18 14:00:33 +08:00
parent 6c4e6fd4e0
commit e7c788386d
2 changed files with 0 additions and 52 deletions

View File

@ -16,7 +16,6 @@
#include <a8/list.h>
#include <a8/xvalue.h>
#include <a8/xobject.h>
#include <a8/xparams.h>
#include <a8/timer_attacher.h>
#include <a8/strutils.h>

View File

@ -1,51 +0,0 @@
#pragma once
namespace a8
{
class XParams
{
public:
template <typename T>
a8::XParams& SetSender(T val)
{
sender.Set(val);
return *this;
}
template <typename T>
a8::XParams& SetParam1(T val)
{
param1.Set(val);
return *this;
}
template <typename T>
a8::XParams& SetParam2(T val)
{
param2.Set(val);
return *this;
}
template <typename T>
a8::XParams& SetParam3(T val)
{
param3.Set(val);
return *this;
}
void DeepCopy(a8::XParams& to)
{
to = *this;
}
public:
a8::XValue sender;
a8::XValue param1;
a8::XValue param2;
a8::XValue param3;
long long _sys_field = 0;
};
}