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§
Sourcefn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
get_Name() overload
Sourcefn set_name(self, value: impl Into<Il2CppString>)
fn set_name(self, value: impl Into<Il2CppString>)
set_Name(::unity::Il2CppString) overload
Sourcefn get_unit_list(self) -> List_1<Unit>
fn get_unit_list(self) -> List_1<Unit>
get_UnitList() overload
Sourcefn get_m_god_dict(self) -> Dictionary_2<Il2CppString, GodUnit>
fn get_m_god_dict(self) -> Dictionary_2<Il2CppString, GodUnit>
get_m_GodDict() overload
Sourcefn clear_value(self)
fn clear_value(self)
ClearValue() overload
Sourcefn copy_from(self, from: impl Into<MapEditData>)
fn copy_from(self, from: impl Into<MapEditData>)
CopyFrom(crate::app::mapeditdata::MapEditData) overload
Sourcefn stream_position(self) -> i32
fn stream_position(self) -> i32
StreamPosition() overload
Sourcefn try_get_pair_god_unit(self, unit: impl Into<Unit>) -> GodUnit
fn try_get_pair_god_unit(self, unit: impl Into<Unit>) -> GodUnit
TryGetPairGodUnit(crate::app::unit::Unit) overload
Sourcefn write_header(self, stream: impl Into<Stream_2>)
fn write_header(self, stream: impl Into<Stream_2>)
WriteHeader(crate::app::stream_2::Stream_2) overload
Sourcefn write_map(self, stream: impl Into<Stream_2>)
fn write_map(self, stream: impl Into<Stream_2>)
WriteMap(crate::app::stream_2::Stream_2) overload
Sourcefn write_unit(self, stream: impl Into<Stream_2>)
fn write_unit(self, stream: impl Into<Stream_2>)
WriteUnit(crate::app::stream_2::Stream_2) overload
Sourcefn write_bonds(self, stream: impl Into<Stream_2>)
fn write_bonds(self, stream: impl Into<Stream_2>)
WriteBonds(crate::app::stream_2::Stream_2) overload
Sourcefn read_header(self, stream: impl Into<Stream_2>)
fn read_header(self, stream: impl Into<Stream_2>)
ReadHeader(crate::app::stream_2::Stream_2) overload
Sourcefn read_map(
self,
stream: impl Into<Stream_2>,
is_opponent: impl Into<bool>,
is_append: impl Into<bool>,
)
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
Sourcefn read_unit(self, stream: impl Into<Stream_2>)
fn read_unit(self, stream: impl Into<Stream_2>)
ReadUnit(crate::app::stream_2::Stream_2) overload
Sourcefn read_unit_for_enemy(self, stream: impl Into<Stream_2>)
fn read_unit_for_enemy(self, stream: impl Into<Stream_2>)
ReadUnitForEnemy(crate::app::stream_2::Stream_2) overload
Sourcefn save_god_bond(self) -> Dictionary_2<Il2CppString, Il2CppString>
fn save_god_bond(self) -> Dictionary_2<Il2CppString, Il2CppString>
SaveGodBond() overload
Sourcefn load_god_bond(
self,
bond_dict: impl Into<Dictionary_2<Il2CppString, Il2CppString>>,
)
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
Sourcefn read_bonds_for_enemy(self, stream: impl Into<Stream_2>)
fn read_bonds_for_enemy(self, stream: impl Into<Stream_2>)
ReadBondsForEnemy(crate::app::stream_2::Stream_2) overload
Sourcefn load_for_enemy(self)
fn load_for_enemy(self)
LoadForEnemy() overload
Sourcefn serialize(self, stream: impl Into<Stream_2>)
fn serialize(self, stream: impl Into<Stream_2>)
Serialize(crate::app::stream_2::Stream_2) overload
Sourcefn deserialize(self, stream: impl Into<Stream_2>)
fn deserialize(self, stream: impl Into<Stream_2>)
Deserialize(crate::app::stream_2::Stream_2) overload
Sourcefn get_sortie_unit_info_list(self) -> List_1<MapEditData_UnitInfo>
fn get_sortie_unit_info_list(self) -> List_1<MapEditData_UnitInfo>
get_SortieUnitInfoList() overload
Sourcefn get_sortie_gid_list(self) -> List_1<Il2CppString>
fn get_sortie_gid_list(self) -> List_1<Il2CppString>
get_SortieGidList() overload
Sourcefn try_get_sortie_unit(
self,
pid: impl Into<Il2CppString>,
) -> MapEditData_UnitInfo
fn try_get_sortie_unit( self, pid: impl Into<Il2CppString>, ) -> MapEditData_UnitInfo
TryGetSortieUnit(::unity::Il2CppString) overload
Sourcefn try_get_sortie_god(self, pid: impl Into<Il2CppString>) -> Il2CppString
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§
impl<__T: IMapEditData> IMapEditDataMethods for __T
app-mapeditdata only.