Click or drag to resize

PacketPeerPutVar Method

Sends a Variant as a packet. If full_objects (or AllowObjectDecoding) is true, encoding objects is allowed (and can potentially include code).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Error PutVar(
	Object var,
	bool fullObjects = false
)

Parameters

var
Type: SystemObject

[Missing <param name="var"/> documentation for "M:Godot.PacketPeer.PutVar(System.Object,System.Boolean)"]

fullObjects (Optional)
Type: SystemBoolean

[Missing <param name="fullObjects"/> documentation for "M:Godot.PacketPeer.PutVar(System.Object,System.Boolean)"]

Return Value

Type: Error

[Missing <returns> documentation for "M:Godot.PacketPeer.PutVar(System.Object,System.Boolean)"]

See Also