public static NavFlagCricle ReadNavFlagCricle(this PacketReader reader) { var data = new NavFlagCricle(); data.Position = reader.ReadVector2(); data.Radius = reader.ReadFloat(); data.Flags = reader.ReadUInt32(); return(data); }
public static void WriteNavFlagCricle(this PacketWriter writer, NavFlagCricle data) { if (data == null) { data = new NavFlagCricle(); } writer.WriteVector2(data.Position); writer.WriteFloat(data.Radius); writer.WriteUInt32(data.Flags); }