pub trait IRelayServerMetaDataMethods: IRelayServerMetaData {
Show 49 methods
// Provided methods
fn ctor(self) { ... }
fn clone(self) -> RelayServerMetaData { ... }
fn set_owner(
self,
principal_id: impl Into<u64>,
name: impl Into<Il2CppString>,
) { ... }
fn set_cid(self, cid: impl Into<Il2CppString>) { ... }
fn set_binary(self, bin: impl Into<Array<u8>>) { ... }
fn set_binary_2(self, bin: impl Into<List_1<u8>>) { ... }
fn update_buffer_on_server(self) { ... }
fn begin(self) { ... }
fn complete(self) { ... }
fn game_over(self) { ... }
fn complement_time(self, unix_time: impl Into<i64>) { ... }
fn add_player(
self,
principal_id: impl Into<u64>,
name: impl Into<Il2CppString>,
) { ... }
fn add_pid(self, pid: impl Into<Il2CppString>) { ... }
fn get_owner_name(self) -> Il2CppString { ... }
fn get_player_name(self, index: impl Into<i32>) -> Il2CppString { ... }
fn create_award_random(self) -> Random_2 { ... }
fn clear(self) { ... }
fn serialize(self) { ... }
fn deserialize(self) -> bool { ... }
fn get_buffer(self) -> Array<u8> { ... }
fn get_size(self) -> i32 { ... }
fn get_buffer_on_server(self) -> Array<u8> { ... }
fn get_size_on_server(self) -> i32 { ... }
fn get_data_id(self) -> u64 { ... }
fn set_data_id(self, value: impl Into<u64>) { ... }
fn get_data_code(self) -> Il2CppString { ... }
fn set_data_code(self, value: impl Into<Il2CppString>) { ... }
fn get_updated_unix_time_on_server(self) -> i64 { ... }
fn set_updated_unix_time_on_server(self, value: impl Into<i64>) { ... }
fn get_is_secret(self) -> bool { ... }
fn set_is_secret(self, value: impl Into<bool>) { ... }
fn get_owner_id(self) -> u64 { ... }
fn get_cid(self) -> Il2CppString { ... }
fn get_begin_unix_time(self) -> i64 { ... }
fn get_end_unix_time(self) -> i64 { ... }
fn get_turn(self) -> i32 { ... }
fn set_turn(self, value: impl Into<i32>) { ... }
fn get_is_end(self) -> bool { ... }
fn get_is_completed(self) -> bool { ... }
fn get_player_ids(self) -> List_1<u64> { ... }
fn get_player_names(self) -> List_1<Il2CppString> { ... }
fn get_pids(self) -> List_1<Il2CppString> { ... }
fn get_playing_count(self) -> u32 { ... }
fn set_playing_count(self, value: impl Into<u32>) { ... }
fn get_awardees(self) -> Dictionary_2<Il2CppString, RelayAwardeeData> { ... }
fn set_awardees(
self,
value: impl Into<Dictionary_2<Il2CppString, RelayAwardeeData>>,
) { ... }
fn try_set_begin_unix_time(self, unix_time: impl Into<i64>) { ... }
fn try_set_end_unix_time(self, unix_time: impl Into<i64>) { ... }
fn set_award_random_seed(self) { ... }
}Provided Methods§
Sourcefn clone(self) -> RelayServerMetaData
fn clone(self) -> RelayServerMetaData
Clone() overload
Sourcefn set_owner(self, principal_id: impl Into<u64>, name: impl Into<Il2CppString>)
fn set_owner(self, principal_id: impl Into<u64>, name: impl Into<Il2CppString>)
SetOwner(u64, ::unity::Il2CppString) overload
Sourcefn set_cid(self, cid: impl Into<Il2CppString>)
fn set_cid(self, cid: impl Into<Il2CppString>)
SetCid(::unity::Il2CppString) overload
Sourcefn set_binary(self, bin: impl Into<Array<u8>>)
fn set_binary(self, bin: impl Into<Array<u8>>)
SetBinary(::unity::Array<u8>) overload
Sourcefn set_binary_2(self, bin: impl Into<List_1<u8>>)
fn set_binary_2(self, bin: impl Into<List_1<u8>>)
SetBinary(crate::system::collections::generic::list_1::List_1<u8>) overload
Sourcefn update_buffer_on_server(self)
fn update_buffer_on_server(self)
UpdateBufferOnServer() overload
Sourcefn complement_time(self, unix_time: impl Into<i64>)
fn complement_time(self, unix_time: impl Into<i64>)
ComplementTime(i64) overload
Sourcefn add_player(self, principal_id: impl Into<u64>, name: impl Into<Il2CppString>)
fn add_player(self, principal_id: impl Into<u64>, name: impl Into<Il2CppString>)
AddPlayer(u64, ::unity::Il2CppString) overload
Sourcefn add_pid(self, pid: impl Into<Il2CppString>)
fn add_pid(self, pid: impl Into<Il2CppString>)
AddPid(::unity::Il2CppString) overload
Sourcefn get_owner_name(self) -> Il2CppString
fn get_owner_name(self) -> Il2CppString
GetOwnerName() overload
Sourcefn get_player_name(self, index: impl Into<i32>) -> Il2CppString
fn get_player_name(self, index: impl Into<i32>) -> Il2CppString
GetPlayerName(i32) overload
Sourcefn create_award_random(self) -> Random_2
fn create_award_random(self) -> Random_2
CreateAwardRandom() overload
Sourcefn deserialize(self) -> bool
fn deserialize(self) -> bool
Deserialize() overload
Sourcefn get_buffer(self) -> Array<u8>
fn get_buffer(self) -> Array<u8>
get_Buffer() overload
Sourcefn get_buffer_on_server(self) -> Array<u8>
fn get_buffer_on_server(self) -> Array<u8>
get_BufferOnServer() overload
Sourcefn get_size_on_server(self) -> i32
fn get_size_on_server(self) -> i32
get_SizeOnServer() overload
Sourcefn get_data_id(self) -> u64
fn get_data_id(self) -> u64
get_DataId() overload
Sourcefn set_data_id(self, value: impl Into<u64>)
fn set_data_id(self, value: impl Into<u64>)
set_DataId(u64) overload
Sourcefn get_data_code(self) -> Il2CppString
fn get_data_code(self) -> Il2CppString
get_DataCode() overload
Sourcefn set_data_code(self, value: impl Into<Il2CppString>)
fn set_data_code(self, value: impl Into<Il2CppString>)
set_DataCode(::unity::Il2CppString) overload
Sourcefn get_updated_unix_time_on_server(self) -> i64
fn get_updated_unix_time_on_server(self) -> i64
get_UpdatedUnixTimeOnServer() overload
Sourcefn set_updated_unix_time_on_server(self, value: impl Into<i64>)
fn set_updated_unix_time_on_server(self, value: impl Into<i64>)
set_UpdatedUnixTimeOnServer(i64) overload
Sourcefn get_is_secret(self) -> bool
fn get_is_secret(self) -> bool
get_IsSecret() overload
Sourcefn set_is_secret(self, value: impl Into<bool>)
fn set_is_secret(self, value: impl Into<bool>)
set_IsSecret(bool) overload
Sourcefn get_owner_id(self) -> u64
fn get_owner_id(self) -> u64
get_OwnerId() overload
Sourcefn get_cid(self) -> Il2CppString
fn get_cid(self) -> Il2CppString
get_Cid() overload
Sourcefn get_begin_unix_time(self) -> i64
fn get_begin_unix_time(self) -> i64
get_BeginUnixTime() overload
Sourcefn get_end_unix_time(self) -> i64
fn get_end_unix_time(self) -> i64
get_EndUnixTime() overload
Sourcefn get_is_end(self) -> bool
fn get_is_end(self) -> bool
get_IsEnd() overload
Sourcefn get_is_completed(self) -> bool
fn get_is_completed(self) -> bool
get_IsCompleted() overload
Sourcefn get_player_ids(self) -> List_1<u64>
fn get_player_ids(self) -> List_1<u64>
get_PlayerIds() overload
Sourcefn get_player_names(self) -> List_1<Il2CppString>
fn get_player_names(self) -> List_1<Il2CppString>
get_PlayerNames() overload
Sourcefn get_pids(self) -> List_1<Il2CppString>
fn get_pids(self) -> List_1<Il2CppString>
get_Pids() overload
Sourcefn get_playing_count(self) -> u32
fn get_playing_count(self) -> u32
get_PlayingCount() overload
Sourcefn set_playing_count(self, value: impl Into<u32>)
fn set_playing_count(self, value: impl Into<u32>)
set_PlayingCount(u32) overload
Sourcefn get_awardees(self) -> Dictionary_2<Il2CppString, RelayAwardeeData>
fn get_awardees(self) -> Dictionary_2<Il2CppString, RelayAwardeeData>
get_Awardees() overload
Sourcefn set_awardees(
self,
value: impl Into<Dictionary_2<Il2CppString, RelayAwardeeData>>,
)
fn set_awardees( self, value: impl Into<Dictionary_2<Il2CppString, RelayAwardeeData>>, )
set_Awardees(crate::system::collections::generic::dictionary_2::Dictionary_2<::unity::Il2CppString,crate::app::relayawardeedata::RelayAwardeeData>) overload
Sourcefn try_set_begin_unix_time(self, unix_time: impl Into<i64>)
fn try_set_begin_unix_time(self, unix_time: impl Into<i64>)
TrySetBeginUnixTime(i64) overload
Sourcefn try_set_end_unix_time(self, unix_time: impl Into<i64>)
fn try_set_end_unix_time(self, unix_time: impl Into<i64>)
TrySetEndUnixTime(i64) overload
Sourcefn set_award_random_seed(self)
fn set_award_random_seed(self)
SetAwardRandomSeed() 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: IRelayServerMetaData> IRelayServerMetaDataMethods for __T
app-relayservermetadata only.