![]() |
Diarkis C++Client Library API Document
|
Functions | |
const DIARKIS_EXPORT char * | DiarkisTranslateCommand (uint16_t command) |
Variables | |
constexpr uint16_t | FieldJoin = 120 |
Field に参加する。自分の位置をサーバに通知して自分の近くのメンバーに通知する。 More... | |
constexpr uint16_t | FieldSync = 121 |
Field を移動した際に他のメンバーに通知する。 More... | |
constexpr uint16_t | FieldDisappear = 123 |
Field から 抜ける際に呼び出す。 More... | |
constexpr uint16_t | FieldLeave = 124 |
Field から 抜ける際に呼び出す。 More... | |
constexpr uint16_t | RoomIncrementProperty = 10 |
Room 任意のプロパティの増減値を送信する。 More... | |
constexpr uint16_t | RoomGetMembers = 11 |
Room 参加メンバーのリストを取得する。 More... | |
constexpr uint16_t | RoomMigrate = 12 |
Room の移動を通知する。 More... | |
constexpr uint16_t | RoomGetNumOfMembers = 13 |
Room に参加している人数を取得する。 More... | |
constexpr uint16_t | RoomOwnerChange = 14 |
Room オーナーが変更した時に通知される。 More... | |
constexpr uint16_t | RoomCreate = 100 |
新規に Room を作成する。 More... | |
constexpr uint16_t | RoomJoin = 101 |
Room に参加する。 More... | |
constexpr uint16_t | RoomLeave = 102 |
Room から退室する。 More... | |
constexpr uint16_t | RoomBroadcast = 103 |
Room 参加者全員に一斉にメッセージを送信する。 More... | |
constexpr uint16_t | RoomMessage = 104 |
Room 参加者する特定の複数メンバーにメッセージを送信する。 More... | |
constexpr uint16_t | RoomJoinRandom = 106 |
参加できる Room があればその Room に参加、無ければ新規の Room を作成する。 More... | |
constexpr uint16_t | RoomUpdateProperties = 107 |
Room プロパティを更新する。 More... | |
constexpr uint16_t | RoomGetProperties = 108 |
Room プロパティを取得する。 More... | |
constexpr uint16_t | RoomGetOwner = 109 |
Room オーナーのIDを取得する。 More... | |
constexpr uint16_t | RoomRegister = 115 |
Roomに付加する情報の登録、FindRoomsByTypeと一緒に使用する。 More... | |
constexpr uint16_t | RoomFindByType = 116 |
同じタイプの Room を検索する。 More... | |
constexpr uint16_t | RoomReserve = 117 |
参加中の Room 他メンバー分の予約をする。 More... | |
constexpr uint16_t | RoomCancelReserve = 118 |
Room の予約をキャンセルする。 More... | |
constexpr uint16_t | RoomChat = 125 |
Room チャットッセージを送信する。 More... | |
constexpr uint16_t | RoomChatLog = 126 |
Room チャットメッセージのログを取得する。 More... | |
constexpr uint16_t | RoomP2PInit = 127 |
Room 参加メンバーに P2P 開始の通知と接続先にアドレスリストを取得する。 More... | |
constexpr uint16_t | RoomNotifyP2PConnectCompleted = 301 |
サーバーへ P2P 接続が完了したことを通知する More... | |
constexpr uint16_t | RoomObjectUpdate = 129 |
Room オブジェクトをアップデートする。 More... | |
constexpr uint16_t | RoomRelay = 18 |
Room リレーで同期する More... | |
constexpr uint16_t | RoomRelayProfile = 19 |
Room リレーでプロファイル同期する More... | |
constexpr uint16_t | RoomMigrateComplete = 20 |
Room Migrate が完了した場合にサーバから送信される push 通知 More... | |
constexpr uint16_t | RoomRelayTo = 23 |
Room 指定したメンバーとリレーで同期する More... | |
constexpr uint16_t | RoomRelayToProfile = 24 |
Room 指定したメンバーとリレーでプロファイル同期する More... | |
constexpr uint16_t | GroupCreate = 110 |
新規に Group を作成する。 More... | |
constexpr uint16_t | GroupJoin = 111 |
Group に参加する。 More... | |
constexpr uint16_t | GroupLeave = 112 |
Group から退室する。 More... | |
constexpr uint16_t | GroupBroadcast = 113 |
Group 参加者全員に一斉にメッセージを送信する。 More... | |
constexpr uint16_t | GroupJoinRandom = 114 |
constexpr uint16_t | MatchMakerHost = 200 |
MatchMaker の ホストとして、マッチングの待ち受け開始。(ホスト用) More... | |
constexpr uint16_t | MatchMakerSearch = 201 |
MatchMaker の ゲストとして、マッチングの探索を行う。(ゲスト用) More... | |
constexpr uint16_t | MatchMakerRemove = 202 |
MatchMaker の マッチングの検索対象から離脱(Abort) / 解散する。(ホスト用) More... | |
constexpr uint16_t | MatchMakerLeave = 203 |
MatchMaker の 待機状態から退出する。 (ゲスト用) More... | |
constexpr uint16_t | MatchMakerSync = 204 |
MatchMaker の マッチングした他のメンバーにメッセージ送信する。(待機時) More... | |
constexpr uint16_t | MatchMakerClaim = 205 |
MatchMaker の MatchMaking の予約する。 More... | |
constexpr uint16_t | MatchMakerComplete = 206 |
MatchMaker の MatchMaking のメンバー数がフルになった時通知する。(ホスト用) More... | |
constexpr uint16_t | MatchMakerResults = 207 |
MatchMaker の MatchMaking のメンバー数がフルになった時通知する。 More... | |
constexpr uint16_t | MatchMakerP2P = 208 |
MatchMaker の P2P接続の初期化 More... | |
constexpr uint16_t | MatchMakerBackfill = 211 |
MatchMaker の 追加でメンバーを待ち受けを行う。(ホスト用) More... | |
constexpr uint16_t | MatchMakerKick = 217 |
MatchMaker の 特定のメンバーを退出させる。(ホスト用) More... | |
constexpr uint16_t | MatchMakerTicket = 218 |
MatchMaker の Ticket リクエスト。 More... | |
constexpr uint16_t | MatchMakerTicketErr = 219 |
MatchMaker の Ticket リクエストの失敗。 More... | |
constexpr uint16_t | MatchMakerTicketComp = 220 |
MatchMaker の Ticket リクエストの成功。 More... | |
constexpr uint16_t | MatchMakerHostChange = 221 |
MatchMaker の ホストが変更に通知される。 More... | |
constexpr uint16_t | MatchMakerTicketCancel = 222 |
MatchMaker の Ticket リクエストをキャンセル。 More... | |
constexpr uint16_t | MatchMakerTicketMatch = 223 |
MatchMaker の Ticket で Room に入室した際に通知される。 More... | |
constexpr uint16_t | MatchMakerTicketBroadcast = 224 |
MatchMaker の Ticket で マッチングした相手に全員にメッセージを送信する。 More... | |
constexpr uint16_t | MatchMakerTicketLeave = 225 |
Ticket リクエストが成功 (Complete) したことによって作成された Room から退出する。 More... | |
constexpr uint16_t | TeamMatchMakerNew = 209 |
TeamMatchMaker の ホストとして、チームのマッチングを待ち受け開始する。(ホスト用) More... | |
constexpr uint16_t | TeamMatchMakerSearch = 214 |
TeamMatchMaker の ゲストとして、チームのマッチング検索を行う。(ゲスト用) More... | |
constexpr uint16_t | TeamMatchMakerCommit = 215 |
constexpr uint16_t | TeamMatchMakerCompCommit = 216 |
TeamMatchMaker ゲストが TeamMatchMaking に移行する。Commitの内部処理で呼び出される。 More... | |
constexpr uint16_t | UdpRequestHolePunch = 303 |
指定されたエンドポイントに PingTry パケットを送信するように通知するコマンド More... | |
constexpr uint16_t | UdpNotifyHolePunchDone = 304 |
UdpRequestHolePunch によって指定されたエンドポイントに PingTry パケットを送信したことを通知するコマンド More... | |
constexpr uint16_t | UdpCheckNATType = 305 |
NAT タイプを確認するコマンド More... | |
constexpr uint16_t | DirectMessageDisconnect = 700 |
DirectMessage message notification disconnect. More... | |
constexpr uint16_t | DirectMessageSend = 701 |
DirectMessage メッセージ送信 More... | |
constexpr uint16_t | DirectMessageConnect = 702 |
This command is deprecated because the connect event of the DirectMessage is no longer used. More... | |
constexpr uint16_t | SessionBroadcast = 800 |
Session の 相手に全員にメッセージを送信する。 More... | |
constexpr uint16_t | SessionCreate = 801 |
新規に Session を作成する。 More... | |
constexpr uint16_t | SessionInvite = 802 |
Sessionへの招待 More... | |
constexpr uint16_t | SessionAcceptInvite = 803 |
最後のSession招待を受け入れる More... | |
constexpr uint16_t | SessionJoin = 804 |
Session に参加する。 More... | |
constexpr uint16_t | SessionLeave = 805 |
Session から退室する。 More... | |
constexpr uint16_t | SessionKick = 806 |
Sessionのメンバーをキックする More... | |
constexpr uint16_t | SessionMessageTo = 807 |
Session の特定のメンバーにメッセージを送信する。 More... | |
constexpr uint16_t | SessionInfoBySessionType = 808 |
Session type を指定し現在参加中の Session の情報を取得する。 More... | |
constexpr uint16_t | SessionInfoBySessionID = 809 |
constexpr uint16_t | TcpHeartbeat = 1 |
TCP サーバに、クライアントから定期的に生存確認を送信する。 More... | |
constexpr uint16_t | UdpEcho = 1 |
UDP サーバに、クライアントから定期的に生存確認を送信する。 More... | |
constexpr uint16_t | UdpPing = 3 |
UDP サーバに、Ping送信。 More... | |
constexpr uint16_t | Notification = 400 |
通知 More... | |
constexpr uint16_t | Reconnect = 2 |
サーバの再接続を試みる。 More... | |
constexpr uint16_t | ClientKey = 4 |
クラアントキーを設定する More... | |
const DIARKIS_EXPORT char* Diarkis::Commands::DiarkisTranslateCommand | ( | uint16_t | command | ) |
|
constexpr |
Field に参加する。自分の位置をサーバに通知して自分の近くのメンバーに通知する。
|
constexpr |
Field を移動した際に他のメンバーに通知する。
|
constexpr |
Field から 抜ける際に呼び出す。
|
constexpr |
Field から 抜ける際に呼び出す。
|
constexpr |
Room 任意のプロパティの増減値を送信する。
|
constexpr |
Room 参加メンバーのリストを取得する。
|
constexpr |
Room の移動を通知する。
|
constexpr |
Room に参加している人数を取得する。
|
constexpr |
Room オーナーが変更した時に通知される。
|
constexpr |
新規に Room を作成する。
|
constexpr |
Room に参加する。
|
constexpr |
Room から退室する。
|
constexpr |
Room 参加者全員に一斉にメッセージを送信する。
|
constexpr |
Room 参加者する特定の複数メンバーにメッセージを送信する。
|
constexpr |
参加できる Room があればその Room に参加、無ければ新規の Room を作成する。
|
constexpr |
Room プロパティを更新する。
|
constexpr |
Room プロパティを取得する。
|
constexpr |
Room オーナーのIDを取得する。
|
constexpr |
Roomに付加する情報の登録、FindRoomsByTypeと一緒に使用する。
|
constexpr |
同じタイプの Room を検索する。
|
constexpr |
参加中の Room 他メンバー分の予約をする。
|
constexpr |
Room の予約をキャンセルする。
|
constexpr |
Room チャットッセージを送信する。
|
constexpr |
Room チャットメッセージのログを取得する。
|
constexpr |
Room 参加メンバーに P2P 開始の通知と接続先にアドレスリストを取得する。
|
constexpr |
サーバーへ P2P 接続が完了したことを通知する
|
constexpr |
Room オブジェクトをアップデートする。
|
constexpr |
Room リレーで同期する
|
constexpr |
Room リレーでプロファイル同期する
|
constexpr |
Room Migrate が完了した場合にサーバから送信される push 通知
|
constexpr |
Room 指定したメンバーとリレーで同期する
|
constexpr |
Room 指定したメンバーとリレーでプロファイル同期する
|
constexpr |
新規に Group を作成する。
|
constexpr |
Group に参加する。
|
constexpr |
Group から退室する。
|
constexpr |
Group 参加者全員に一斉にメッセージを送信する。
|
constexpr |
|
constexpr |
MatchMaker の ホストとして、マッチングの待ち受け開始。(ホスト用)
|
constexpr |
MatchMaker の ゲストとして、マッチングの探索を行う。(ゲスト用)
|
constexpr |
MatchMaker の マッチングの検索対象から離脱(Abort) / 解散する。(ホスト用)
|
constexpr |
MatchMaker の 待機状態から退出する。 (ゲスト用)
|
constexpr |
MatchMaker の マッチングした他のメンバーにメッセージ送信する。(待機時)
|
constexpr |
MatchMaker の MatchMaking の予約する。
|
constexpr |
MatchMaker の MatchMaking のメンバー数がフルになった時通知する。(ホスト用)
|
constexpr |
MatchMaker の MatchMaking のメンバー数がフルになった時通知する。
|
constexpr |
MatchMaker の P2P接続の初期化
|
constexpr |
MatchMaker の 追加でメンバーを待ち受けを行う。(ホスト用)
|
constexpr |
MatchMaker の 特定のメンバーを退出させる。(ホスト用)
|
constexpr |
MatchMaker の Ticket リクエスト。
|
constexpr |
MatchMaker の Ticket リクエストの失敗。
|
constexpr |
MatchMaker の Ticket リクエストの成功。
|
constexpr |
MatchMaker の ホストが変更に通知される。
|
constexpr |
MatchMaker の Ticket リクエストをキャンセル。
|
constexpr |
MatchMaker の Ticket で Room に入室した際に通知される。
|
constexpr |
MatchMaker の Ticket で マッチングした相手に全員にメッセージを送信する。
|
constexpr |
Ticket リクエストが成功 (Complete) したことによって作成された Room から退出する。
|
constexpr |
TeamMatchMaker の ホストとして、チームのマッチングを待ち受け開始する。(ホスト用)
|
constexpr |
TeamMatchMaker の ゲストとして、チームのマッチング検索を行う。(ゲスト用)
|
constexpr |
TeamMatchMaker チームメンバーをチームマッチメイキングにコミットさせる。(ホスト用) マッチメイキングは破棄される。
|
constexpr |
TeamMatchMaker ゲストが TeamMatchMaking に移行する。Commitの内部処理で呼び出される。
|
constexpr |
指定されたエンドポイントに PingTry パケットを送信するように通知するコマンド
|
constexpr |
UdpRequestHolePunch によって指定されたエンドポイントに PingTry パケットを送信したことを通知するコマンド
|
constexpr |
NAT タイプを確認するコマンド
|
constexpr |
DirectMessage message notification disconnect.
|
constexpr |
DirectMessage メッセージ送信
|
constexpr |
This command is deprecated because the connect event of the DirectMessage is no longer used.
|
constexpr |
Session の 相手に全員にメッセージを送信する。
|
constexpr |
新規に Session を作成する。
|
constexpr |
Sessionへの招待
|
constexpr |
最後のSession招待を受け入れる
|
constexpr |
Session に参加する。
|
constexpr |
Session から退室する。
|
constexpr |
Sessionのメンバーをキックする
|
constexpr |
Session の特定のメンバーにメッセージを送信する。
|
constexpr |
Session type を指定し現在参加中の Session の情報を取得する。
|
constexpr |
Session ID を指定し Session の情報を取得する。 対象の Session に参加しているかどうかは関係なく情報を取得することができる。
|
constexpr |
TCP サーバに、クライアントから定期的に生存確認を送信する。
|
constexpr |
UDP サーバに、クライアントから定期的に生存確認を送信する。
|
constexpr |
UDP サーバに、Ping送信。
|
constexpr |
通知
|
constexpr |
サーバの再接続を試みる。
|
constexpr |
クラアントキーを設定する