45 player_found = player;
55 for (
int i = 0; i < player_list.
m_PlayerList.Count(); i++ )
86 while ( !player_found && j < player_list.Count() )
88 if ( player_list[j].m_Uid ==
UID )
89 player_found = player_list[j];
99 for (
int i = 0; i < player_list.Count(); i++ )
104 if ( !player_widget )
117 m_Entries.Find( result.m_Uid, player_widget );
120 player_widget.LoadPermissions( result.m_Results );
129 for (
int i = 0; i < player_list.Count(); i++ )
131 string uid = player_list.GetKey( i );
137 player_widget.SetMute( muted );
149 if ( widget && widget.GetButtonWidget() == button )
165 if ( widget && widget.GetButtonWidget() == button )
191 for (
int i = 0; i <
m_Entries.Count() - 1; i++)
199 next_entry =
m_Entries.GetElement(i + 1);
277 #ifdef PLATFORM_CONSOLE
282 if (
GetGame().GetUIManager().GetMenu())
295 Widget root = entry.GetButtonWidget().GetParent();
296 Widget first_child = root.GetParent().GetChildren();
297 Widget last_child = first_child;
300 if ( last_child.GetSibling() )
301 last_child = last_child.GetSibling();
306 root.GetParent().Update();
312 float bottom_pos =
y + y_s;
314 root.GetScreenPos( x_l, y_l );
315 root.GetScreenSize( x_s, y_s );
317 if ( root == first_child )
321 else if ( root == last_child )
325 else if ( y_l + y_s >= bottom_pos )
EBiosError
Possible Error codes for bios API. This is the list of errors that can be returned from bios API....
array< ref BiosPrivacyUidResult > BiosPrivacyUidResultArray
array< ref BiosFriendInfo > BiosFriendInfoArray
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
string m_DisplayName
The Displayable nick name of the friend.
string m_Uid
The Uid of the friend.
BiosFriendInfo represents friend information.
BiosPrivacyUidResult represents the per user result of the GetPermissionsAsync request.
proto native UIManager GetUIManager()
proto native WorkspaceWidget GetWorkspace()
GetServersResult the output structure of the GetServers operation.
static bool IsPlayerMuted(string id)
string m_UID
Keeping for backwards compatability with mods.
ref array< ref SyncPlayer > m_PlayerList
proto native UIScriptedMenu GetMenu()
Returns most-top open menu.
proto native CGame GetGame()