public static void GameFightStartMessageTreatment(Message message, byte[] packetDatas, AccountUC account) { GameFightStartMessage msg = (GameFightStartMessage)message; using (BigEndianReader reader = new BigEndianReader(packetDatas)) { msg.Deserialize(reader); } account.FightData.FightStart(); }
public static void GameFightStartMessageTreatment(Message message, byte[] packetDatas, AccountUC account) { GameFightStartMessage msg = (GameFightStartMessage)message; using (BigEndianReader reader = new BigEndianReader(packetDatas)) { msg.Deserialize(reader); } account.Fight.WaitForReady = false; account.Fight.IsFightStarted = true; account.Log(new ActionTextInformation("Début du combat"), 2); account.Fight.watch.Restart(); }