OnPlayerServerAuth: Difference between revisions

From Onset Developer Wiki
(Created page with "{{Info|Event|Server|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|OnPlayerServerAuth}} {{FuncParameters}} == Example == __EDIT_ME__ {{RelatedFunctions}} {{ServerEvents}}")
 
m (Player server events.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Info|Event|Server|1.0}}
{{Info|Event|Server|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Server has authorized a client and allocated a player identifier to them. The player is now downloading packages from the server. Called after [[OnClientConnectionRequest]] but before [[OnPlayerJoin]].}}


{{FuncSyntax|OnPlayerServerAuth}}
{{FuncSyntax|OnPlayerServerAuth(player)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|player|The player who was given authorization to connect.}}
== Example ==
== Example ==
__EDIT_ME__
__EDIT_ME__


{{RelatedFunctions}}
{{RelatedFunctions}}
{{ServerEvents}}
{{PlayerServerEvents}}

Latest revision as of 07:49, 16 January 2020

OnPlayerServerAuth

Type: Event
Context: Server
Introduced: v1.0

Description

Server has authorized a client and allocated a player identifier to them. The player is now downloading packages from the server. Called after OnClientConnectionRequest but before OnPlayerJoin.

Syntax

OnPlayerServerAuth(player)

Parameters

  • player
    The player who was given authorization to connect.

Example

__EDIT_ME__

See also