|
@@ -4,7 +4,7 @@ using System.Collections.Generic;
|
|
|
namespace ET
|
|
|
{
|
|
|
//战斗服发给游戏服后,游戏服推送给客户端
|
|
|
- [Message(ServerPush.BattleEventPush)]
|
|
|
+ [Message(BattleServerMsg.BattleEventPush)]
|
|
|
[ProtoContract]
|
|
|
public partial class BattleEventPush: ProtoObject, IActorMessage
|
|
|
{
|
|
@@ -16,8 +16,19 @@ namespace ET
|
|
|
|
|
|
}
|
|
|
|
|
|
- public static class ServerPush
|
|
|
+//客户端发送消息给战斗服,由游戏服转发
|
|
|
+ [Message(BattleServerMsg.BattleEventPull)]
|
|
|
+ [ProtoContract]
|
|
|
+ public partial class BattleEventPull: ProtoObject, IActorMessage
|
|
|
+ {
|
|
|
+ [ProtoMember(1)]
|
|
|
+ public byte[] data { get; set; }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class BattleServerMsg
|
|
|
{
|
|
|
public const ushort BattleEventPush = 40002;
|
|
|
+ public const ushort BattleEventPull = 40003;
|
|
|
}
|
|
|
}
|