Beispiel #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));
        }
Beispiel #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)));
        }
        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));
        }