コード例 #1
0
ファイル: Sample.cs プロジェクト: takaaptech/UniteCraft
        public static LuaRefInfo Create(byte cmd, string name, string addr, byte type)
        {
            LuaRefInfo r = m_pool.GetObject();

            r.cmd  = cmd;
            r.name = name;
            r.addr = addr;
            r.type = type;
            return(r);
        }
コード例 #2
0
ファイル: Sample.cs プロジェクト: takaaptech/UniteCraft
        public LuaRefInfo Clone()
        {
            LuaRefInfo result = new LuaRefInfo();

            result.cmd        = this.cmd;
            result.frameCount = this.frameCount;
            result.name       = this.name;
            result.addr       = this.addr;
            result.type       = this.type;

            return(result);
        }
コード例 #3
0
        public static void SendRemoveRef(string funName, string funAddr, byte type)
        {
            LuaRefInfo refInfo = LuaRefInfo.Create(0, funName, funAddr, type);

            NetWorkClient.SendMessage(refInfo);
        }
コード例 #4
0
ファイル: Sample.cs プロジェクト: takaaptech/UniteCraft
        public static LuaRefInfo Create()
        {
            LuaRefInfo r = m_pool.GetObject();

            return(r);
        }