AtavismNetworkHelper Class

Namespace
Atavism
Base Types
  • object
graph BT Type-->Base0["object"] Type["AtavismNetworkHelper"] class Type type-node

Syntax

public class AtavismNetworkHelper

Constructors

Fields

Properties

Methods

Name Value Summary
AdjustTimestamp(long) long
Return a time adjusted with respect to the WorldManager's current time
AdjustTimestamp(long, long) long
Get the time in our local time system (instead of server time), and update the time offset if neccessary.
ByteArrayToHexString(byte[], int, int) string
static
ConnectToLogin(string, string) NetworkHelperStatus
Connect to the login server, so we can do character selection there.
ConnectToWorld(OID, string, int, string) NetworkHelperStatus
CreateAccountMaster(LoginSettings) NetworkHelperStatus
Login to the Master server using tcp
CreateCharacter(Dictionary<string, object>) CharacterEntry
This call requires the tcp world connection to be established
DeleteCharacter(Dictionary<string, object>) void
This call requires the tcp world connection to be established
Disconnect() void
DisconnectFromLogin() void
DisconnectFromMaster() void
Dispose() void
GetCharacters(string) void
GetIconPrefabs(Dictionary<string, object>, string) NetworkHelperStatus
GetPrefabs(Dictionary<string, object>, string) NetworkHelperStatus
GetProxyToken(OID) NetworkHelperStatus
Helper method to deal with the fact that some servers were not forward compatible.
GetServerList(string) NetworkHelperStatus
Sends a WorldServerListRequestMessage to the Login Server to get the list of servers available to connect to.
GetServerTimestamp(long) long
Convert the timestamp in client time to a timestamp in server time.
GetWorldEntry(string) WorldServerEntry
handlePrefabMessages() void
HasWorldEntry(string) bool
Init() void
LoginMaster(LoginSettings) NetworkHelperStatus
Login to the Master server using tcp
LoginServerHeartbeat(string) NetworkHelperStatus
Sends the heartbeat message to the Login server to verify the connection is still alive.
QueueMessage(AtavismOutgoingMessage) void
RegisterPrefabMessageHandler(string, ExtensionMessageHandler) void
RemovePrefabMessageHandler(string, ExtensionMessageHandler) void
RequestShutdown(string) void
ResolveWorld(LoginSettings) NetworkHelperStatus
Connect to the Master server using rdp, and resolve the world id
ResolveWorld(string, string) NetworkHelperStatus
SendAcquireMessage(long) void
SendActivateItemMessage(OID, long) void
SendAttackMessage(long, string, bool) void
SendCommMessage(string) void
SendDirectionMessage(long, Vector3, Vector3) void
SendDirLocOrientMessage(long, Vector3, Vector3, Quaternion) void
SendEquipMessage(long, string) void
SendHaMessage(long) void
SendMessage(BaseWorldMessage) void
General purpose send message method that can send any type of message This used to be private, but it is now public, so that plugins can use this method.
SendOrientationMessage(Quaternion) void
SendPrefabMsg() void
SendQuestConcludeRequestMessage(long) void
SendQuestInfoRequestMessage(long) void
SendQuestResponseMessage(long, long, bool) void
SendSceneLoadedMessage() void
SendTargettedCommand(long, string) void
SendTradeOffer(long, long, List<long>, bool, bool) void
SetWorldEntry(string, WorldServerEntry) void
StartClientPrefab(string, int) void
TcpPrefabDisconnect() void