Eleon.Modding.CmdId

Request_Player_List
Description: Retrieves a listing of players. (Uncertain if it is active or all players.--Joemorin73 (talk) 16:33, 15 March 2017 (UTC))

Param data: None.

Related event: Event_Player_List

Sample: GameAPI.Game_Request(CmdId.Request_Player_List, (ushort)CmdId.Request_Player_List, null);

Request_Player_Info
Description: Retrieves players information. The ID used as a parameter is the entity id, not the Steam id.

Param data: Id

Related event: Event_Player_Info

Sample: GameAPI.Game_Request(CmdId.Request_Player_Info, (ushort)CmdId.Request_Player_Info, new Eleon.Modding.Id(12345));

Request_Player_SetPlayerInfo
Description: Set basic information of the player. This is to modify the player's starting playfield, health, stamina, food, oxygen and experience points. (There is no example of this in action in the Empyrion Mod Sample. This is a best guess.  --Joemorin73 (talk) 16:51, 15 March 2017 (UTC))

Param data: PlayerInfoSet

Related event: ??? (Possibly Event_Player_Info. Need confirmation.)

Sample: GameAPI.Game_Request(CmdId.Request_Player_SetPlayerInfo, (ushort)CmdId.Request_Player_SetPlayerInfo, ???);

Request_Player_GetInventory
Description: Retrieves players inventory. The ID used as a parameter is the entity id, not the Steam id.

Param data: Id

Related event: Event_Player_Inventory

Sample: GameAPI.Game_Request(CmdId.Request_Player_GetInventory, (ushort)CmdId.Request_Player_GetInventory, new Eleon.Modding.Id(12345));

Request_Player_SetInventory
Description: Sets players inventory. Refer to Param data for what is passed.

Param data: Inventory

Related event: Event_Player_Inventory??? (Unconfirmed if called. --Joemorin73 (talk) 17:39, 16 March 2017 (UTC))

Sample: GameAPI.Game_Request(CmdId.Request_Player_SetInventory, (ushort)CmdId.Request_Player_SetInventory, new Eleon.Modding.Inventory {    this.playerId = 12345;     this.toolbelt = Toolbelt;     this.bag = Bag; } );

Request_Player_AddItem
Description: Adds an item to the player's inventory. Refer to Param data for what is passed.

Param data: IdItemStack

Related event: Event_Player_Inventory??? (Unconfirmed if called. --Joemorin73 (talk) 21:05, 17 March 2017 (UTC))

Sample:

Event_Player_Connected
Description:  Event Triggered when a player connects.

Param data: Eleon.Modding.Id

Event_Player_Disconnected
Description:  Event Triggered when a player disconnects.

Param data: Eleon.Modding.Id