Exemplo n.º 1
0
 public static void writeInfo(SendPacket s, ReceivePacket p, bool genLog)
 {
     code12_StageObjAnim.Struct @struct = code12_StageObjAnim.ReadInfo(p, genLog);
     s.writeC(@struct._unk);
     s.writeH(@struct._life);
     s.writeT(@struct._syncDate);
     s.writeC(@struct._anim1);
     s.writeC(@struct._anim2);
 }
Exemplo n.º 2
0
 public static code12_StageObjAnim.Struct ReadInfo(ReceivePacket p, bool genLog)
 {
     code12_StageObjAnim.Struct @struct = new code12_StageObjAnim.Struct()
     {
         _unk      = p.readC(),
         _life     = p.readUH(),
         _syncDate = p.readT(),
         _anim1    = p.readC(),
         _anim2    = p.readC()
     };
     if (genLog)
     {
         Logger.warning("[code12_StageObjAnim] " + (object)@struct._unk + ";" + (object)@struct._life + ";" + (object)@struct._syncDate + ";" + (object)@struct._anim1 + ";" + (object)@struct._anim2, false);
     }
     return(@struct);
 }