private void HandleUserOnline(GSPacketIn pkg) { int num = pkg.ReadInt(); for (int index = 0; index < num; ++index) { int id = pkg.ReadInt(); pkg.ReadInt(); LoginMgr.PlayerLogined(id, this); } this._svr.SendToALL(pkg, this); }
private void HandleUserOnline(GSPacketIn pkg) { int count = pkg.ReadInt(); for (int i = 0; i < count; i++) { int playerid = pkg.ReadInt(); int consortiaid = pkg.ReadInt(); LoginMgr.PlayerLogined(playerid, this); this.Info.Online++; } this._svr.SendToALL(pkg, this); }