StocMessage.PromptContext 0x44, PromptContextCodec (23 bytes), EngineApi.ygol_query_prompt_context, Capability.ProtocolVersion 12, tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
86 lines
2.1 KiB
C#
86 lines
2.1 KiB
C#
namespace YGOLegacy.Protocol.Contracts
|
|
{
|
|
public enum CtosMessage
|
|
{
|
|
Response = 0x1,
|
|
UpdateDeck = 0x2,
|
|
HandResult = 0x3,
|
|
TpResult = 0x4,
|
|
PlayerInfo = 0x10,
|
|
CreateGame = 0x11,
|
|
JoinGame = 0x12,
|
|
LeaveGame = 0x13,
|
|
Surrender = 0x14,
|
|
TimeConfirm = 0x15,
|
|
Chat = 0x16,
|
|
ExternalAddress = 0x17,
|
|
HsToDuelist = 0x20,
|
|
HsToObserver = 0x21,
|
|
HsReady = 0x22,
|
|
HsNotReady = 0x23,
|
|
HsKick = 0x24,
|
|
HsStart = 0x25,
|
|
RequestField = 0x30,
|
|
Capability = 0x40,
|
|
Appearance = 0x41,
|
|
Dialogue = 0x42,
|
|
SeatPlan = 0x50,
|
|
SeatRequest = 0x51,
|
|
SeatSwap = 0x52,
|
|
SeatMove = 0x53,
|
|
RestartPrepare = 0x54,
|
|
RestartAck = 0x55,
|
|
RestartControl = 0x56,
|
|
SeatResume = 0x57,
|
|
RestartOpen = 0x58,
|
|
SeatState = 0x59,
|
|
Profile = 0x5D,
|
|
AttackPreview = 0x5E
|
|
}
|
|
|
|
public enum StocMessage
|
|
{
|
|
GameMsg = 0x1,
|
|
ErrorMsg = 0x2,
|
|
SelectHand = 0x3,
|
|
SelectTp = 0x4,
|
|
HandResult = 0x5,
|
|
TpResult = 0x6,
|
|
ChangeSide = 0x7,
|
|
WaitingSide = 0x8,
|
|
DeckCount = 0x9,
|
|
CreateGame = 0x11,
|
|
JoinGame = 0x12,
|
|
TypeChange = 0x13,
|
|
LeaveGame = 0x14,
|
|
DuelStart = 0x15,
|
|
DuelEnd = 0x16,
|
|
Replay = 0x17,
|
|
TimeLimit = 0x18,
|
|
Chat = 0x19,
|
|
HsPlayerEnter = 0x20,
|
|
HsPlayerChange = 0x21,
|
|
HsWatchChange = 0x22,
|
|
TeammateSurrender = 0x23,
|
|
FieldFinish = 0x30,
|
|
SrvproRoomList = 0x31,
|
|
Capability = 0x40,
|
|
Appearance = 0x41,
|
|
Dialogue = 0x42,
|
|
SetupPairs = 0x43,
|
|
PromptContext = 0x44,
|
|
SeatPlan = 0x50,
|
|
RoomRestarting = 0x54,
|
|
RestartStatus = 0x56,
|
|
SeatResumeResult = 0x57,
|
|
RestartOpen = 0x58,
|
|
SeatState = 0x59,
|
|
MatchOver = 0x5A,
|
|
CoinToss = 0x5B,
|
|
DeckList = 0x5C,
|
|
Profile = 0x5D,
|
|
AttackPreview = 0x5E,
|
|
TagPartnerCards = 0x5F
|
|
}
|
|
}
|