net.ReadType

From Garry's Mod
Jump to: navigation, search
 net.ReadType( )

Description

This is an internal function or feature.
This means you will be able to use it, but you really shouldn't.

Used internally by net.ReadTable.

Reads a value from the net message with the specified type, written by net.WriteType.

WARNING

You must read information in same order as you write it.

Arguments

number typeID=net.ReadUInt(8)

The type of value to be read, using TYPE_ Enums.

Returns

any

The value, or the respective blank value based on the type you're reading if the value could not be read.
Personal tools
Navigation