示例#1
0
        public override void Initialize()
        {
            CoreSocialModule.OnTick += new Action(this._reader.ReadTick);
            CoreSocialModule.OnTick += new Action(this._writer.SendAll);
            NetSocialModule netSocialModule = this;

            this._lobbyChatMessage = Callback <LobbyChatMsg_t> .Create(new Callback <LobbyChatMsg_t> .DispatchDelegate(this.OnLobbyChatMessage));
        }
示例#2
0
        public override void Initialize()
        {
            CoreSocialModule.OnTick += new Action(this._reader.ReadTick);
            CoreSocialModule.OnTick += new Action(this._writer.SendAll);
            NetSocialModule netSocialModule = this;

            // ISSUE: virtual method pointer
            this._lobbyChatMessage = Callback <LobbyChatMsg_t> .Create(new Callback <LobbyChatMsg_t> .DispatchDelegate((object)netSocialModule, __vmethodptr(netSocialModule, OnLobbyChatMessage)));
        }
示例#3
0
        public override void Initialize()
        {
            // ISSUE: method pointer
            CoreSocialModule.OnTick += new Action((object)this._reader, __methodptr(ReadTick));
            // ISSUE: method pointer
            CoreSocialModule.OnTick += new Action((object)this._writer, __methodptr(SendAll));
            NetSocialModule netSocialModule = this;
            // ISSUE: virtual method pointer
            IntPtr num = __vmethodptr(netSocialModule, OnLobbyChatMessage);

            this._lobbyChatMessage = Callback <LobbyChatMsg_t> .Create(new Callback <LobbyChatMsg_t> .DispatchDelegate((object)netSocialModule, num));
        }