|
@@ -72,28 +72,11 @@ namespace ET.Server
|
|
|
if (player != null )
|
|
|
{
|
|
|
MessageHelper.SendToClient(player, new BattleEventPush() { key = (ushort)BattlePushCnst.FastStreamPush, data = data});
|
|
|
- // var gatemap = player.GetComponent<GateMapComponent>();
|
|
|
- // if(gatemap == null)
|
|
|
- // {
|
|
|
- // Log.Error($"player({usrid}) not entermap");
|
|
|
- // return;
|
|
|
- // }
|
|
|
- //
|
|
|
- // var unitcomponet = gatemap.Scene.GetComponent<UnitComponent>();
|
|
|
- // var unit = unitcomponet.GetChild<Unit>(usrid);
|
|
|
- // if(unit != null)
|
|
|
- // {
|
|
|
- // MessageHelper.SendToClient(unit, new BattleEventPush() { key = (ushort)BattlePushCnst.FastStreamPush, data = data});
|
|
|
- // }
|
|
|
- // else
|
|
|
- // {
|
|
|
- // Log.Error($"unit({usrid}) not exist @scene");
|
|
|
- // }
|
|
|
- }
|
|
|
- else
|
|
|
- {
|
|
|
- Log.Error($"Not found player({usrid}) @faststream data");
|
|
|
}
|
|
|
+ // else
|
|
|
+ // {
|
|
|
+ // Log.Error($"Not found player({usrid}) @faststream data");
|
|
|
+ // }
|
|
|
}
|
|
|
|
|
|
private static void OnSessionError(object sender, ErrorEventArgs e)
|