Developer Documentation

OdinClient.Join

public bool Join(Room room, string token)
public bool Join(Room room, string token, string roomName, byte[] userData, float positionX, float positionY)

Join a object of base Room

Info

If the join fails the room is freed and removed from the client

Parameters

NameTypeDescription
roomRoombase type
tokenString
roomNameStringroom alias
userDataByte[]initial userdata
positionXSingleserver culling position X
positionYSingleserver culling position Y

Returns

TypeDescription
Boolean

Variants

Join(room, token)

public bool Join(Room room, string token)

Join a object of base Room

Warning

If the join fails the room is freed and removed from the client

Parameters

NameTypeDescription
roomRoombase type
tokenString

Returns

TypeDescription
Boolean

Join(room, token, roomName, userData, positionX, positionY)

public bool Join(Room room, string token, string roomName, byte[] userData, float positionX, float positionY)

Join a object of base Room

Warning

If the join fails the room is freed and removed from the client

Parameters

NameTypeDescription
roomRoombase type
tokenStringtoken
roomNameStringroom alias
userDataByte[]initial userdata
positionXSingleserver culling position X
positionYSingleserver culling position Y

Returns

TypeDescription
Booleanroom or null