Property | Type | Description | |
---|---|---|---|
Instance | WorldItemManager, | ||
audioDrop | |||
audioPickup | |||
audioSource | |||
world_item | GameObject |
Method | Description | |
---|---|---|
ConvertListToJSONClass ( string>.List |
||
CreateDropItemNetworkMessage ( int item_id, int amt, int inv_pos ) : string>>.List |
||
CreatePickupItemNetworkMessage ( int world_item_id, int player_id, int item_id, int amt ) : string>>.List |
||
CreateWorldItem ( int world_item_id, int item_id, int amt, float pos_x, float pos_y ) : GameObject | ||
CreateWorldItemNetworkMessage ( int world_item_id, int item_id, int amt, float pos_x, float pos_y ) : string>>.List |
||
DestroyWorldItem ( int world_item_id ) : void | ||
GenerateWorldItemId ( ) : int | ||
ProcessDropEvent ( int world_item_id, int player_id, int item_id, int amt, int inv_pos, int pos_x, int pos_y ) : void | ||
ProcessMagnetizeEvent ( int playerId, int worldItemId ) : void | ||
ProcessPickUpEvent ( int world_item_id, int player_id, int item_id, int amt ) : void | ||
ReceiveCreateWorldItemPacket ( |
||
ReceiveItemDropPacket ( |
||
ReceiveItemMagnetizePacket ( |
||
ReceiveItemPickupPacket ( |
||
WaitSmallDelayBeforeReceivePickupPacket ( |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
Start ( ) : void | ||
ToggleAutoLootable ( int world_item_id ) : void |
public ConvertListToJSONClass ( string>.List |
||
list | string>.List | |
return |
public CreateDropItemNetworkMessage ( int item_id, int amt, int inv_pos ) : string>>.List |
||
item_id | int | |
amt | int | |
inv_pos | int | |
return | string>>.List |
public CreatePickupItemNetworkMessage ( int world_item_id, int player_id, int item_id, int amt ) : string>>.List |
||
world_item_id | int | |
player_id | int | |
item_id | int | |
amt | int | |
return | string>>.List |
public CreateWorldItem ( int world_item_id, int item_id, int amt, float pos_x, float pos_y ) : GameObject | ||
world_item_id | int | |
item_id | int | |
amt | int | |
pos_x | float | |
pos_y | float | |
return | GameObject |
public CreateWorldItemNetworkMessage ( int world_item_id, int item_id, int amt, float pos_x, float pos_y ) : string>>.List |
||
world_item_id | int | |
item_id | int | |
amt | int | |
pos_x | float | |
pos_y | float | |
return | string>>.List |
public DestroyWorldItem ( int world_item_id ) : void | ||
world_item_id | int | |
return | void |
public ProcessDropEvent ( int world_item_id, int player_id, int item_id, int amt, int inv_pos, int pos_x, int pos_y ) : void | ||
world_item_id | int | |
player_id | int | |
item_id | int | |
amt | int | |
inv_pos | int | |
pos_x | int | |
pos_y | int | |
return | void |
public ProcessMagnetizeEvent ( int playerId, int worldItemId ) : void | ||
playerId | int | |
worldItemId | int | |
return | void |
public ProcessPickUpEvent ( int world_item_id, int player_id, int item_id, int amt ) : void | ||
world_item_id | int | |
player_id | int | |
item_id | int | |
amt | int | |
return | void |
public ReceiveCreateWorldItemPacket ( |
||
itemPacket | ||
return | void |
public ReceiveItemDropPacket ( |
||
itemPacket | ||
return | void |
public ReceiveItemMagnetizePacket ( |
||
itemPacket | ||
return | void |
public ReceiveItemPickupPacket ( |
||
itemPacket | ||
return | void |
public WaitSmallDelayBeforeReceivePickupPacket ( |
||
itemPacket | ||
return | IEnumerator |
public static WorldItemManager, Instance | ||
return | WorldItemManager, |
public AudioClip,UnityEngine audioPickup | ||
return |
public AudioSource,UnityEngine audioSource | ||
return |