Skip to main content

IMapEditDataMethods

Trait IMapEditDataMethods 

Source
pub trait IMapEditDataMethods: IMapEditData {
Show 32 methods // Provided methods fn get_name(self) -> Il2CppString { ... } fn set_name(self, value: impl Into<Il2CppString>) { ... } fn get_unit_list(self) -> List_1<Unit> { ... } fn get_m_god_dict(self) -> Dictionary_2<Il2CppString, GodUnit> { ... } fn ctor(self) { ... } fn clear(self) { ... } fn clear_value(self) { ... } fn copy_from(self, from: impl Into<MapEditData>) { ... } fn is_empty(self) -> bool { ... } fn is_saved(self) -> bool { ... } fn stream_position(self) -> i32 { ... } fn try_get_pair_god_unit(self, unit: impl Into<Unit>) -> GodUnit { ... } fn write_header(self, stream: impl Into<Stream_2>) { ... } fn write_map(self, stream: impl Into<Stream_2>) { ... } fn write_unit(self, stream: impl Into<Stream_2>) { ... } fn write_bonds(self, stream: impl Into<Stream_2>) { ... } fn read_header(self, stream: impl Into<Stream_2>) { ... } fn read_map( self, stream: impl Into<Stream_2>, is_opponent: impl Into<bool>, is_append: impl Into<bool>, ) { ... } fn read_unit(self, stream: impl Into<Stream_2>) { ... } fn read_unit_for_enemy(self, stream: impl Into<Stream_2>) { ... } fn save_god_bond(self) -> Dictionary_2<Il2CppString, Il2CppString> { ... } fn load_god_bond( self, bond_dict: impl Into<Dictionary_2<Il2CppString, Il2CppString>>, ) { ... } fn read_bonds_for_enemy(self, stream: impl Into<Stream_2>) { ... } fn save(self) { ... } fn load(self) { ... } fn load_for_enemy(self) { ... } fn serialize(self, stream: impl Into<Stream_2>) { ... } fn deserialize(self, stream: impl Into<Stream_2>) { ... } fn get_sortie_unit_info_list(self) -> List_1<MapEditData_UnitInfo> { ... } fn get_sortie_gid_list(self) -> List_1<Il2CppString> { ... } fn try_get_sortie_unit( self, pid: impl Into<Il2CppString>, ) -> MapEditData_UnitInfo { ... } fn try_get_sortie_god(self, pid: impl Into<Il2CppString>) -> Il2CppString { ... }
}

Provided Methods§

Source

fn get_name(self) -> Il2CppString

get_Name() overload

Source

fn set_name(self, value: impl Into<Il2CppString>)

set_Name(::unity::Il2CppString) overload

Source

fn get_unit_list(self) -> List_1<Unit>

get_UnitList() overload

Source

fn get_m_god_dict(self) -> Dictionary_2<Il2CppString, GodUnit>

get_m_GodDict() overload

Source

fn ctor(self)

.ctor() overload

Source

fn clear(self)

Clear() overload

Source

fn clear_value(self)

ClearValue() overload

Source

fn copy_from(self, from: impl Into<MapEditData>)

CopyFrom(crate::app::mapeditdata::MapEditData) overload

Source

fn is_empty(self) -> bool

IsEmpty() overload

Source

fn is_saved(self) -> bool

IsSaved() overload

Source

fn stream_position(self) -> i32

StreamPosition() overload

Source

fn try_get_pair_god_unit(self, unit: impl Into<Unit>) -> GodUnit

TryGetPairGodUnit(crate::app::unit::Unit) overload

Source

fn write_header(self, stream: impl Into<Stream_2>)

WriteHeader(crate::app::stream_2::Stream_2) overload

Source

fn write_map(self, stream: impl Into<Stream_2>)

WriteMap(crate::app::stream_2::Stream_2) overload

Source

fn write_unit(self, stream: impl Into<Stream_2>)

WriteUnit(crate::app::stream_2::Stream_2) overload

Source

fn write_bonds(self, stream: impl Into<Stream_2>)

WriteBonds(crate::app::stream_2::Stream_2) overload

Source

fn read_header(self, stream: impl Into<Stream_2>)

ReadHeader(crate::app::stream_2::Stream_2) overload

Source

fn read_map( self, stream: impl Into<Stream_2>, is_opponent: impl Into<bool>, is_append: impl Into<bool>, )

ReadMap(crate::app::stream_2::Stream_2, bool, bool) overload

Source

fn read_unit(self, stream: impl Into<Stream_2>)

ReadUnit(crate::app::stream_2::Stream_2) overload

Source

fn read_unit_for_enemy(self, stream: impl Into<Stream_2>)

ReadUnitForEnemy(crate::app::stream_2::Stream_2) overload

Source

fn save_god_bond(self) -> Dictionary_2<Il2CppString, Il2CppString>

SaveGodBond() overload

Source

fn load_god_bond( self, bond_dict: impl Into<Dictionary_2<Il2CppString, Il2CppString>>, )

LoadGodBond(crate::system::collections::generic::dictionary_2::Dictionary_2<::unity::Il2CppString,::unity::Il2CppString>) overload

Source

fn read_bonds_for_enemy(self, stream: impl Into<Stream_2>)

ReadBondsForEnemy(crate::app::stream_2::Stream_2) overload

Source

fn save(self)

Save() overload

Source

fn load(self)

Load() overload

Source

fn load_for_enemy(self)

LoadForEnemy() overload

Source

fn serialize(self, stream: impl Into<Stream_2>)

Serialize(crate::app::stream_2::Stream_2) overload

Source

fn deserialize(self, stream: impl Into<Stream_2>)

Deserialize(crate::app::stream_2::Stream_2) overload

Source

fn get_sortie_unit_info_list(self) -> List_1<MapEditData_UnitInfo>

get_SortieUnitInfoList() overload

Source

fn get_sortie_gid_list(self) -> List_1<Il2CppString>

get_SortieGidList() overload

Source

fn try_get_sortie_unit( self, pid: impl Into<Il2CppString>, ) -> MapEditData_UnitInfo

TryGetSortieUnit(::unity::Il2CppString) overload

Source

fn try_get_sortie_god(self, pid: impl Into<Il2CppString>) -> Il2CppString

TryGetSortieGod(::unity::Il2CppString) overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IMapEditData> IMapEditDataMethods for __T

Available on crate feature app-mapeditdata only.