12345678910111213141516171819202122232425262728293031323334 |
- using ET;
- using ProtoBuf;
- using System.Collections.Generic;
- namespace ET
- {
- //战斗服发给游戏服后,游戏服推送给客户端
- [Message(BattleServerMsg.BattleEventPush)]
- [ProtoContract]
- public partial class BattleEventPush: ProtoObject, IActorMessage
- {
- [ProtoMember(1)]
- public ushort key { get; set; }
- [ProtoMember(2)]
- public byte[] data { get; set; }
- }
- //客户端发送消息给战斗服,由游戏服转发
- [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;
- }
- }
|