public static void deserialize(byte[] data, ref Int32 offset, out PlayerInfo value) { deserialize(data, ref offset, out value.id); deserialize(data, ref offset, out value.familyName); deserialize(data, ref offset, out value.characterInfo); }
public static void serialize(MemoryStream stream, PlayerInfo value) { serialize(stream, value.id); serialize(stream, value.familyName); serialize(stream, value.characterInfo); }