Ejemplo n.º 1
0
        protected RoleCouch()
            : base(RoleName)
        {
            SetName(RoleName);
            _instance = this;

            {
                List <VParamType> eArgs = new List <VParamType>()
                {
                    new ParamType("text")
                };
                List <VParamType> eRetVals = new List <VParamType>()
                {
                    new ParamType("text")
                };
                AddOperation(new Operation(OpSetEmotion, eArgs, eRetVals));
            }

            {
                // List<VParamType> args = new List<VParamType>() { new ParamType("text") };
                List <VParamType> retVals = new List <VParamType>()
                {
                    new ParamType("text")
                };
                AddOperation(new Operation(OpGetEmotion, null, retVals, true));
            }
        }
Ejemplo n.º 2
0
        protected RoleCouch()
            : base(RoleName)
        {
            SetName(RoleName);
            _instance = this;

            {
                List <VParamType> args = new List <VParamType>()
                {
                    new ParamType(0)
                };
                List <VParamType> retVals = new List <VParamType>()
                {
                    new ParamType(0)
                };
                AddOperation(new Operation(OpGoHappyName, args, retVals));
            }
        }
Ejemplo n.º 3
0
        protected RoleCouch()
            : base(RoleName)
        {
            SetName(RoleName);
            _instance = this;

            {
                List<VParamType> eArgs = new List<VParamType>() { new ParamType("text") };
                List<VParamType> eRetVals = new List<VParamType>() { new ParamType("text") };
                AddOperation(new Operation(OpSetEmotion, eArgs, eRetVals));
            }

            {
               // List<VParamType> args = new List<VParamType>() { new ParamType("text") };
                List<VParamType> retVals = new List<VParamType>() { new ParamType("text") };
                AddOperation(new Operation(OpGetEmotion, null, retVals, true));
            }
        }
        protected RoleCouch()
            : base(RoleName)
        {
            SetName(RoleName);
            _instance = this;

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