Garry's Mod Wiki

net.ReadType

any net.ReadType( number typeID = net.ReadUInt(8) )

Description

This is used internally - although you're able to use it you probably shouldn't. Used internally by net.ReadTable.

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

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

Arguments

1 number typeID = net.ReadUInt(8)
The type of value to be read, using Enums/TYPE.

Returns

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

Page Links


Special Pages


Wikis

?

Render Time: 83ms

DB GetPage 45
Generate Html 9
SaveChanges (1) 10
Render Body 0
Render Sidebar 16