pub trait IGodBondHolderMethods: IGodBondHolder {
Show 19 methods
// Provided methods
fn build(self, data: impl Into<GodData>) -> GodBondHolder { ... }
fn get(self, unit: impl Into<Unit>) -> GodBond { ... }
fn create(self, unit: impl Into<Unit>) { ... }
fn update_all_bonds_for_god_state(self, god_state: impl Into<GodState>) { ... }
fn delete_exluding(self, pids: impl Into<List_1<Il2CppString>>) { ... }
fn get_max_level(self) -> i32 { ... }
fn get_count_of_reliance_level_a(self) -> i32 { ... }
fn new_god_bond(self, pid: impl Into<Il2CppString>) -> GodBond { ... }
fn clear(self) { ... }
fn set_level_from_unit_reliance_if_possible(self, data: impl Into<GodData>) { ... }
fn set_level_from_unit_reliance(
self,
link_unit: impl Into<Unit>,
force_type: impl Into<Force_Type>,
) { ... }
fn change_opponent(self, data: impl Into<GodData>) { ... }
fn on_serialize(self, stream: impl Into<Stream_2>) { ... }
fn on_deserialize(
self,
stream: impl Into<Stream_2>,
version: impl Into<i32>,
) { ... }
fn serialize_for_rewind_latest(
self,
stream: impl Into<Stream_2>,
exclude_pids: impl Into<HashSet_1<Il2CppString>>,
) { ... }
fn deserialize_for_rewind_latest(self, stream: impl Into<Stream_2>) { ... }
fn get_data(self) -> GodData { ... }
fn is_valid(self) -> bool { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn build(self, data: impl Into<GodData>) -> GodBondHolder
fn build(self, data: impl Into<GodData>) -> GodBondHolder
Build(crate::app::goddata::GodData) overload
Sourcefn update_all_bonds_for_god_state(self, god_state: impl Into<GodState>)
fn update_all_bonds_for_god_state(self, god_state: impl Into<GodState>)
UpdateAllBondsForGodState(crate::app::godstate::GodState) overload
Sourcefn delete_exluding(self, pids: impl Into<List_1<Il2CppString>>)
fn delete_exluding(self, pids: impl Into<List_1<Il2CppString>>)
DeleteExluding(crate::system::collections::generic::list_1::List_1<::unity::Il2CppString>) overload
Sourcefn get_max_level(self) -> i32
fn get_max_level(self) -> i32
GetMaxLevel() overload
Sourcefn get_count_of_reliance_level_a(self) -> i32
fn get_count_of_reliance_level_a(self) -> i32
GetCountOfRelianceLevelA() overload
Sourcefn new_god_bond(self, pid: impl Into<Il2CppString>) -> GodBond
fn new_god_bond(self, pid: impl Into<Il2CppString>) -> GodBond
NewGodBond(::unity::Il2CppString) overload
Sourcefn set_level_from_unit_reliance_if_possible(self, data: impl Into<GodData>)
fn set_level_from_unit_reliance_if_possible(self, data: impl Into<GodData>)
SetLevelFromUnitRelianceIfPossible(crate::app::goddata::GodData) overload
Sourcefn set_level_from_unit_reliance(
self,
link_unit: impl Into<Unit>,
force_type: impl Into<Force_Type>,
)
fn set_level_from_unit_reliance( self, link_unit: impl Into<Unit>, force_type: impl Into<Force_Type>, )
SetLevelFromUnitReliance(crate::app::unit::Unit, crate::app::force::Force_Type) overload
Sourcefn change_opponent(self, data: impl Into<GodData>)
fn change_opponent(self, data: impl Into<GodData>)
ChangeOpponent(crate::app::goddata::GodData) overload
Sourcefn on_serialize(self, stream: impl Into<Stream_2>)
fn on_serialize(self, stream: impl Into<Stream_2>)
OnSerialize(crate::app::stream_2::Stream_2) overload
Sourcefn on_deserialize(self, stream: impl Into<Stream_2>, version: impl Into<i32>)
fn on_deserialize(self, stream: impl Into<Stream_2>, version: impl Into<i32>)
OnDeserialize(crate::app::stream_2::Stream_2, i32) overload
Sourcefn serialize_for_rewind_latest(
self,
stream: impl Into<Stream_2>,
exclude_pids: impl Into<HashSet_1<Il2CppString>>,
)
fn serialize_for_rewind_latest( self, stream: impl Into<Stream_2>, exclude_pids: impl Into<HashSet_1<Il2CppString>>, )
SerializeForRewindLatest(crate::app::stream_2::Stream_2, crate::system::collections::generic::hashset_1::HashSet_1<::unity::Il2CppString>) overload
Sourcefn deserialize_for_rewind_latest(self, stream: impl Into<Stream_2>)
fn deserialize_for_rewind_latest(self, stream: impl Into<Stream_2>)
DeserializeForRewindLatest(crate::app::stream_2::Stream_2) 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: IGodBondHolder> IGodBondHolderMethods for __T
app-godbondholder only.