Example #1
0
 public override void Deserialize(ByteProtocol protocol)
 {
     skillId = (SkillId)protocol.getInt32();
     //    UnityEngine.Debug.LogError("get skillId" +(Int32)skillId);
     coolDownTime = protocol.getRatio();
     animTime     = protocol.getRatio();
     key          = (KeyNum)protocol.getByte();
     base.Deserialize(protocol);
 }