Our new developer documentation is now available. Please check it out!
Room.UpdateUserData
public virtual Task<RpcResult> UpdateUserData(IUserData userData)
public virtual Task<RpcResult> UpdateUserData(byte[] bytes)
Update arbitrary userdata of self (note: Odin)
Info
Be aware that the task is created for resolving Msgpack request/response result as Room. Unless handled correctly should not be awaited by the corresponding context.
Parameters
Name | Type | Description |
---|---|---|
userData | IUserData | arbitrary data |
bytes | Byte[] | raw binary data |
Returns
Type | Description |
---|---|
Task<RpcResult> | Thunk task that will not run (see |
Variants
UpdateUserData(userData)
public virtual Task<RpcResult> UpdateUserData(IUserData userData)
Update arbitrary userdata of self (note: Odin)
Warning
Be aware that the task is created for resolving Msgpack request/response result as Room. Unless handled correctly should not be awaited by the corresponding context.
Parameters
Name | Type | Description |
---|---|---|
userData | IUserData | arbitrary data |
Returns
Type | Description |
---|---|
Task<RpcResult> | Thunk task that will not run (see |
UpdateUserData(bytes)
public virtual Task<RpcResult> UpdateUserData(byte[] bytes)
Update binary userdata of self (note: Odin)
Warning
Be aware that the task is created for resolving Msgpack request/response result as Room. Unless handled correctly should not be awaited by the corresponding context.
Parameters
Name | Type | Description |
---|---|---|
bytes | Byte[] | raw binary data |
Returns
Type | Description |
---|---|
Task<RpcResult> | Thunk task that will not run (see |