123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- using ET;
- using ProtoBuf;
- using System.Collections.Generic;
- namespace ET
- {
- [Message(CommonProto.MoveInfo)]
- [ProtoContract]
- public partial class MoveInfo: ProtoObject
- {
- [ProtoMember(1)]
- public List<Unity.Mathematics.float3> Points { get; set; }
- [ProtoMember(2)]
- public Unity.Mathematics.quaternion Rotation { get; set; }
- [ProtoMember(3)]
- public int TurnSpeed { get; set; }
- }
- [Message(CommonProto.UnitInfo)]
- [ProtoContract]
- public partial class UnitInfo: ProtoObject
- {
- [ProtoMember(1)]
- public long UnitId { get; set; }
- [ProtoMember(2)]
- public int ConfigId { get; set; }
- [ProtoMember(3)]
- public int Type { get; set; }
- [ProtoMember(4)]
- public Unity.Mathematics.float3 Position { get; set; }
- [ProtoMember(5)]
- public Unity.Mathematics.float3 Forward { get; set; }
- [MongoDB.Bson.Serialization.Attributes.BsonDictionaryOptions(MongoDB.Bson.Serialization.Options.DictionaryRepresentation.ArrayOfArrays)]
- [ProtoMember(6)]
- public Dictionary<int, long> KV { get; set; }
- [ProtoMember(7)]
- public MoveInfo MoveInfo { get; set; }
- }
- [Message(CommonProto.PlayerInfo)]
- [ProtoContract]
- public partial class PlayerInfo: ProtoObject
- {
- [ProtoMember(1)]
- public long id { get; set; }
- [ProtoMember(2)]
- public string name { get; set; }
- [ProtoMember(3)]
- public int sex { get; set; }
- [ProtoMember(4)]
- public long exp { get; set; }
- [ProtoMember(5)]
- public int level { get; set; }
- [ProtoMember(6)]
- public int vip { get; set; }
- }
- public static class CommonProto
- {
- public const ushort MoveInfo = 10002;
- public const ushort UnitInfo = 10003;
- public const ushort PlayerInfo = 10004;
- }
- }
|