public override void Send(UseItemRequest content, DelegateConnectCallback callback) { base.Send(content, callback); _request = content; dropPrizeItems.Clear(); }
virtual public void Send(Tin content, DelegateConnectCallback callback) { this._url = GetUrl(); this._data = GetData(content); this._callback = callback; HttpClient.DumpStream("PB class = " + this, _data); HttpClientHelper.Send(_url, _data, OnComplete, _canBeIgnore); }
public override void Send(StartFightRequest content, DelegateConnectCallback callback) { base.Send(content, callback); Model_Mission mission = InstancePlayer.instance.model_User.model_level.GetMission(content.missionId); Assert.assert(mission.actived); _request = content; }
public ClientGUI() { InitializeComponent(); login.Enabled = true; send.Enabled = false; client = new Client(); client.OnLogin += new DelegateLogin(OnLoginEvent); client.OnMessage += new DelegateMessage(OnMessageEvent); client.OnConnect += new DelegateConnect(OnConnectionEvent); delegateLoginCallback = new DelegateLoginCallback(OnLogin); delegateConnectCallback = new DelegateConnectCallback(OnConnect); delegateMessageCallback = new DelegateMessageCallback(OnMessage); client.Awake(); }
public override void Send(MultiFightRequest content, DelegateConnectCallback callback) { base.Send(content, callback); InstancePlayer.instance.multiFightPrizeItems.Clear(); Model_Mission mission = InstancePlayer.instance.model_User.model_level.GetMission(content.missionId); Assert.assert(mission.actived); DataMission dataMission = DataManager.instance.dataMissionGroup.GetMission(content.missionId); InstancePlayer.instance.model_User.model_Energy.SubEnergy(dataMission.EnergyCost * content.num); InstancePlayer.instance.multiFightHeroGotExp.Clear(); _multiFightRequest = content; }
public override void Send(UpgradeUnitPartRequest content, DelegateConnectCallback callback) { base.Send(content, callback); _request = content; }
public override void Send(SetClientDataRequest content, DelegateConnectCallback callback) { base.Send(content, callback); }
public override void Send(ComposeHeroRequest content, DelegateConnectCallback callback) { base.Send(content, callback); _request = content; }
public override void Send(DelNotifyRequest content, DelegateConnectCallback callback) { base.Send(content, callback); _request = content; }
public override void Send(StartPVPLadderFightRequest content, DelegateConnectCallback callback) { base.Send(content, callback); }
public override void Send(FinishBattleRequest content, DelegateConnectCallback callback) { base.Send(content, callback); _request = content; }
override public void Send(DrawTaskRewardRequest content, DelegateConnectCallback callback) { base.Send(content, callback); _request = content; }
override public void Send(SyncRequest content, DelegateConnectCallback callback) { base.Send(content, callback); }