-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Metatable:NetworkMessage
No description available at the moment.
addByte(number)
addDouble(number)
addItem(item)
addItemId(itemId)
addPosition(position)
addString(string)
addU16(number)
addU32(number)
addU64(number)
getByte()
getPosition()
getString()
getU16()
getU32()
getU64()
reset()
sendToPlayer(player)
skipBytes(number)
Description: N/A
Parameters:Returns: N/A
- number - No description
Example:
local networkmessage = NetworkMessage(...)
networkmessage:addByte(any_number)
Added in version: 1.0
Description: N/A
Parameters:Returns: N/A
- number - No description
Example:
local networkmessage = NetworkMessage(...)
networkmessage:addDouble(any_number)
Added in version: 1.0
Description: N/A
Parameters:Returns: N/A
- item - No description
Example:
local networkmessage = NetworkMessage(...)
networkmessage:addItem(some_userdata)
Added in version: 1.0
Description: N/A
Parameters:Returns: N/A
- itemId - No description
Example:
local networkmessage = NetworkMessage(...)
networkmessage:addItemId(2400)
Added in version: 1.0
Description: N/A
Parameters:Returns: N/A
- position - No description
Example:
local networkmessage = NetworkMessage(...)
networkmessage:addPosition(Position())
Added in version: 1.0
Description: N/A
Parameters:Returns: N/A
- string - No description
Example:
local networkmessage = NetworkMessage(...)
networkmessage:addString(any_string)
Added in version: 1.0
Description: N/A
Parameters:Returns: N/A
- number - No description
Example:
local networkmessage = NetworkMessage(...)
networkmessage:addU16(any_number)
Added in version: 1.0
Description: N/A
Parameters:Returns: N/A
- number - No description
Example:
local networkmessage = NetworkMessage(...)
networkmessage:addU32(any_number)
Added in version: 1.0
Description: N/A
Parameters:Returns: N/A
- number - No description
Example:
local networkmessage = NetworkMessage(...)
networkmessage:addU64(any_number)
Added in version: 1.0
Description: N/A
Parameters: None
Returns: N/A
Example:
local networkmessage = NetworkMessage(...)
networkmessage:getByte()
Added in version: 1.0
Description: N/A
Parameters: None
Returns: N/A
Example:
local networkmessage = NetworkMessage(...)
networkmessage:getPosition()
Added in version: 1.0
Description: N/A
Parameters: None
Returns: N/A
Example:
local networkmessage = NetworkMessage(...)
networkmessage:getString()
Added in version: 1.0
Description: N/A
Parameters: None
Returns: N/A
Example:
local networkmessage = NetworkMessage(...)
networkmessage:getU16()
Added in version: 1.0
Description: N/A
Parameters: None
Returns: N/A
Example:
local networkmessage = NetworkMessage(...)
networkmessage:getU32()
Added in version: 1.0
Description: N/A
Parameters: None
Returns: N/A
Example:
local networkmessage = NetworkMessage(...)
networkmessage:getU64()
Added in version: 1.0
Description: N/A
Parameters: None
Returns: N/A
Example:
local networkmessage = NetworkMessage(...)
networkmessage:reset()
Added in version: 1.0
Description: N/A
Parameters:Returns: N/A
- player - No description
Example:
local networkmessage = NetworkMessage(...)
networkmessage:sendToPlayer(some_userdata)
Added in version: 1.0
Description: N/A
Parameters:Returns: N/A
- number - No description
Example:
local networkmessage = NetworkMessage(...)
networkmessage:skipBytes(any_number)
Added in version: 1.0