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: 32ms

Session 0
DB GetPage 3
Generate Html 4
SaveChanges 15
Render Body 0
Render Sidebar 7