示例#1
0
        protected RoleSwitchBinary()
        {
            SetName(RoleName);
            _instance = this;

            {
                List <VParamType> args = new List <VParamType>()
                {
                    new ParamType(false)
                };
                List <VParamType> retVals = new List <VParamType>();
                AddOperation(new Operation(OpSetName, args, retVals));
            }

            {
                List <VParamType> args    = new List <VParamType>();
                List <VParamType> retVals = new List <VParamType>()
                {
                    new ParamType(false)
                };
                AddOperation(new Operation(OpGetName, args, retVals, true));
            }
        }
示例#2
0
        protected RoleSwitchBinary()
        {
            SetName(RoleName);
            _instance = this;

            {
                List<VParamType> args = new List<VParamType>() { new ParamType(false) };
                List<VParamType> retVals = new List<VParamType>();
                AddOperation(new Operation(OpSetName, args, retVals));
            }

            {
                List<VParamType> args = new List<VParamType>();
                List<VParamType> retVals = new List<VParamType>() { new ParamType(false) };
                AddOperation(new Operation(OpGetName, args, retVals, true));
            }
        }