C# 클래스 Octgn.Server.BaseBinaryStub

상속: Octgn.Server.IClientCalls
파일 보기 프로젝트 열기: octgn/OCTGN

공개 메소드들

메소드 설명
AddMarker ( byte player, int card, System.Guid id, string name, ushort count, ushort origCount, bool isScriptChange ) : void
AddPacks ( byte player, System.Guid packs, bool selfOnly ) : void
AnchorCard ( int id, byte player, bool anchor ) : void
BaseBinaryStub ( Handler handler ) : System
Binary ( ) : void
CancelLimited ( byte player ) : void
CardSwitchTo ( byte player, int card, string alternate ) : void
Chat ( byte player, string text ) : void
Counter ( byte player, int counter, int value, bool isScriptChange ) : void
CreateAliasDeprecated ( int id, ulong type ) : void
CreateCard ( int id, System.Guid type, string size, int group ) : void
CreateCardAt ( int id, System.Guid modelId, int x, int y, bool faceUp, bool persist ) : void
DeleteCard ( int card, byte player ) : void
DontTake ( int id ) : void
Error ( string msg ) : void
Filter ( int card, string color ) : void
FreezeCardsVisibility ( int group ) : void
GameState ( byte toPlayer, string state ) : void
GameStateReq ( byte player ) : void
GroupVis ( byte player, int group, bool defined, bool visible ) : void
GroupVisAdd ( byte player, int group, byte who ) : void
GroupVisRemove ( byte player, int group, byte who ) : void
Highlight ( int card, string color ) : void
IsTableBackgroundFlipped ( bool isFlipped ) : void
Kick ( string reason ) : void
Leave ( byte player ) : void
LoadDeck ( int id, System.Guid type, int group, string size, string sleeve, bool limited ) : void
LookAt ( byte player, int uid, int group, bool look ) : void
LookAtBottom ( byte player, int uid, int group, int count, bool look ) : void
LookAtTop ( byte player, int uid, int group, int count, bool look ) : void
MoveCard ( byte player, int id, int group, int idx, bool faceUp, bool isScriptMove ) : void
MoveCardAt ( byte player, int id, int x, int y, int idx, bool faceUp, bool isScriptMove ) : void
NewPlayer ( byte id, string nick, ulong pkey, bool tableSide, bool spectator ) : void
NextTurn ( byte nextPlayer, bool force ) : void
Nick ( byte player, string nick ) : void
PassTo ( byte player, int id, byte to, bool requested ) : void
Peek ( byte player, int card ) : void
Ping ( ) : void
PlaySound ( byte player, string name ) : void
PlayerDisconnect ( byte player ) : void
PlayerSetGlobalVariable ( byte player, string name, string oldval, string val ) : void
PlayerSettings ( byte playerId, bool invertedTable, bool spectator ) : void
PlayerState ( byte player, byte state ) : void
Print ( byte player, string text ) : void
Random ( int result ) : void
Ready ( byte player ) : void
RemoteCall ( byte player, string function, string args ) : void
RemoveMarker ( byte player, int card, System.Guid id, string name, ushort count, ushort origCount, bool isScriptChange ) : void
Reset ( byte player ) : void
ResetCardProperties ( int id, byte player ) : void
Rotate ( byte player, int card, CardOrientation rot ) : void
SetBoard ( string name ) : void
SetCardProperty ( int id, byte player, string name, string val, string valtype ) : void
SetGlobalVariable ( string name, string oldval, string val ) : void
SetPhase ( byte phase, byte nextPhase, bool force ) : void
SetPlayerColor ( byte player, string color ) : void
Settings ( bool twoSidedTable, bool allowSpectators, bool muteSpectators ) : void
ShuffleDeprecated ( int group, int card ) : void
Shuffled ( byte player, int group, int card, short pos ) : void
Start ( ) : void
StartLimited ( byte player, System.Guid packs ) : void
StopPhase ( byte player, byte phase ) : void
StopTurn ( byte player ) : void
TakeFrom ( int id, byte to ) : void
Target ( byte player, int card, bool isScriptChange ) : void
TargetArrow ( byte player, int card, int otherCard, bool isScriptChange ) : void
TransferMarker ( byte player, int from, int to, System.Guid id, string name, ushort count, ushort origCount, bool isScriptChange ) : void
Turn ( byte player, int card, bool up ) : void
UnaliasDeprecated ( int card, ulong type ) : void
UnaliasGrpDeprecated ( int group ) : void
Untarget ( byte player, int card, bool isScriptChange ) : void
Welcome ( byte id, System.Guid gameSessionId, bool waitForGameState ) : void

보호된 메소드들

메소드 설명
Send ( byte data ) : void

메소드 상세

AddMarker() 공개 메소드

public AddMarker ( byte player, int card, System.Guid id, string name, ushort count, ushort origCount, bool isScriptChange ) : void
player byte
card int
id System.Guid
name string
count ushort
origCount ushort
isScriptChange bool
리턴 void

AddPacks() 공개 메소드

public AddPacks ( byte player, System.Guid packs, bool selfOnly ) : void
player byte
packs System.Guid
selfOnly bool
리턴 void

AnchorCard() 공개 메소드

public AnchorCard ( int id, byte player, bool anchor ) : void
id int
player byte
anchor bool
리턴 void

BaseBinaryStub() 공개 메소드

public BaseBinaryStub ( Handler handler ) : System
handler Handler
리턴 System

Binary() 공개 메소드

public Binary ( ) : void
리턴 void

CancelLimited() 공개 메소드

public CancelLimited ( byte player ) : void
player byte
리턴 void

CardSwitchTo() 공개 메소드

public CardSwitchTo ( byte player, int card, string alternate ) : void
player byte
card int
alternate string
리턴 void

Chat() 공개 메소드

public Chat ( byte player, string text ) : void
player byte
text string
리턴 void

Counter() 공개 메소드

public Counter ( byte player, int counter, int value, bool isScriptChange ) : void
player byte
counter int
value int
isScriptChange bool
리턴 void

CreateAliasDeprecated() 공개 메소드

public CreateAliasDeprecated ( int id, ulong type ) : void
id int
type ulong
리턴 void

CreateCard() 공개 메소드

public CreateCard ( int id, System.Guid type, string size, int group ) : void
id int
type System.Guid
size string
group int
리턴 void

CreateCardAt() 공개 메소드

public CreateCardAt ( int id, System.Guid modelId, int x, int y, bool faceUp, bool persist ) : void
id int
modelId System.Guid
x int
y int
faceUp bool
persist bool
리턴 void

DeleteCard() 공개 메소드

public DeleteCard ( int card, byte player ) : void
card int
player byte
리턴 void

DontTake() 공개 메소드

public DontTake ( int id ) : void
id int
리턴 void

Error() 공개 메소드

public Error ( string msg ) : void
msg string
리턴 void

Filter() 공개 메소드

public Filter ( int card, string color ) : void
card int
color string
리턴 void

FreezeCardsVisibility() 공개 메소드

public FreezeCardsVisibility ( int group ) : void
group int
리턴 void

GameState() 공개 메소드

public GameState ( byte toPlayer, string state ) : void
toPlayer byte
state string
리턴 void

GameStateReq() 공개 메소드

public GameStateReq ( byte player ) : void
player byte
리턴 void

GroupVis() 공개 메소드

public GroupVis ( byte player, int group, bool defined, bool visible ) : void
player byte
group int
defined bool
visible bool
리턴 void

GroupVisAdd() 공개 메소드

public GroupVisAdd ( byte player, int group, byte who ) : void
player byte
group int
who byte
리턴 void

GroupVisRemove() 공개 메소드

public GroupVisRemove ( byte player, int group, byte who ) : void
player byte
group int
who byte
리턴 void

Highlight() 공개 메소드

public Highlight ( int card, string color ) : void
card int
color string
리턴 void

IsTableBackgroundFlipped() 공개 메소드

public IsTableBackgroundFlipped ( bool isFlipped ) : void
isFlipped bool
리턴 void

Kick() 공개 메소드

public Kick ( string reason ) : void
reason string
리턴 void

Leave() 공개 메소드

public Leave ( byte player ) : void
player byte
리턴 void

LoadDeck() 공개 메소드

public LoadDeck ( int id, System.Guid type, int group, string size, string sleeve, bool limited ) : void
id int
type System.Guid
group int
size string
sleeve string
limited bool
리턴 void

LookAt() 공개 메소드

public LookAt ( byte player, int uid, int group, bool look ) : void
player byte
uid int
group int
look bool
리턴 void

LookAtBottom() 공개 메소드

public LookAtBottom ( byte player, int uid, int group, int count, bool look ) : void
player byte
uid int
group int
count int
look bool
리턴 void

LookAtTop() 공개 메소드

public LookAtTop ( byte player, int uid, int group, int count, bool look ) : void
player byte
uid int
group int
count int
look bool
리턴 void

MoveCard() 공개 메소드

public MoveCard ( byte player, int id, int group, int idx, bool faceUp, bool isScriptMove ) : void
player byte
id int
group int
idx int
faceUp bool
isScriptMove bool
리턴 void

MoveCardAt() 공개 메소드

public MoveCardAt ( byte player, int id, int x, int y, int idx, bool faceUp, bool isScriptMove ) : void
player byte
id int
x int
y int
idx int
faceUp bool
isScriptMove bool
리턴 void

NewPlayer() 공개 메소드

public NewPlayer ( byte id, string nick, ulong pkey, bool tableSide, bool spectator ) : void
id byte
nick string
pkey ulong
tableSide bool
spectator bool
리턴 void

NextTurn() 공개 메소드

public NextTurn ( byte nextPlayer, bool force ) : void
nextPlayer byte
force bool
리턴 void

Nick() 공개 메소드

public Nick ( byte player, string nick ) : void
player byte
nick string
리턴 void

PassTo() 공개 메소드

public PassTo ( byte player, int id, byte to, bool requested ) : void
player byte
id int
to byte
requested bool
리턴 void

Peek() 공개 메소드

public Peek ( byte player, int card ) : void
player byte
card int
리턴 void

Ping() 공개 메소드

public Ping ( ) : void
리턴 void

PlaySound() 공개 메소드

public PlaySound ( byte player, string name ) : void
player byte
name string
리턴 void

PlayerDisconnect() 공개 메소드

public PlayerDisconnect ( byte player ) : void
player byte
리턴 void

PlayerSetGlobalVariable() 공개 메소드

public PlayerSetGlobalVariable ( byte player, string name, string oldval, string val ) : void
player byte
name string
oldval string
val string
리턴 void

PlayerSettings() 공개 메소드

public PlayerSettings ( byte playerId, bool invertedTable, bool spectator ) : void
playerId byte
invertedTable bool
spectator bool
리턴 void

PlayerState() 공개 메소드

public PlayerState ( byte player, byte state ) : void
player byte
state byte
리턴 void

Print() 공개 메소드

public Print ( byte player, string text ) : void
player byte
text string
리턴 void

Random() 공개 메소드

public Random ( int result ) : void
result int
리턴 void

Ready() 공개 메소드

public Ready ( byte player ) : void
player byte
리턴 void

RemoteCall() 공개 메소드

public RemoteCall ( byte player, string function, string args ) : void
player byte
function string
args string
리턴 void

RemoveMarker() 공개 메소드

public RemoveMarker ( byte player, int card, System.Guid id, string name, ushort count, ushort origCount, bool isScriptChange ) : void
player byte
card int
id System.Guid
name string
count ushort
origCount ushort
isScriptChange bool
리턴 void

Reset() 공개 메소드

public Reset ( byte player ) : void
player byte
리턴 void

ResetCardProperties() 공개 메소드

public ResetCardProperties ( int id, byte player ) : void
id int
player byte
리턴 void

Rotate() 공개 메소드

public Rotate ( byte player, int card, CardOrientation rot ) : void
player byte
card int
rot CardOrientation
리턴 void

Send() 보호된 추상적인 메소드

protected abstract Send ( byte data ) : void
data byte
리턴 void

SetBoard() 공개 메소드

public SetBoard ( string name ) : void
name string
리턴 void

SetCardProperty() 공개 메소드

public SetCardProperty ( int id, byte player, string name, string val, string valtype ) : void
id int
player byte
name string
val string
valtype string
리턴 void

SetGlobalVariable() 공개 메소드

public SetGlobalVariable ( string name, string oldval, string val ) : void
name string
oldval string
val string
리턴 void

SetPhase() 공개 메소드

public SetPhase ( byte phase, byte nextPhase, bool force ) : void
phase byte
nextPhase byte
force bool
리턴 void

SetPlayerColor() 공개 메소드

public SetPlayerColor ( byte player, string color ) : void
player byte
color string
리턴 void

Settings() 공개 메소드

public Settings ( bool twoSidedTable, bool allowSpectators, bool muteSpectators ) : void
twoSidedTable bool
allowSpectators bool
muteSpectators bool
리턴 void

ShuffleDeprecated() 공개 메소드

public ShuffleDeprecated ( int group, int card ) : void
group int
card int
리턴 void

Shuffled() 공개 메소드

public Shuffled ( byte player, int group, int card, short pos ) : void
player byte
group int
card int
pos short
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

StartLimited() 공개 메소드

public StartLimited ( byte player, System.Guid packs ) : void
player byte
packs System.Guid
리턴 void

StopPhase() 공개 메소드

public StopPhase ( byte player, byte phase ) : void
player byte
phase byte
리턴 void

StopTurn() 공개 메소드

public StopTurn ( byte player ) : void
player byte
리턴 void

TakeFrom() 공개 메소드

public TakeFrom ( int id, byte to ) : void
id int
to byte
리턴 void

Target() 공개 메소드

public Target ( byte player, int card, bool isScriptChange ) : void
player byte
card int
isScriptChange bool
리턴 void

TargetArrow() 공개 메소드

public TargetArrow ( byte player, int card, int otherCard, bool isScriptChange ) : void
player byte
card int
otherCard int
isScriptChange bool
리턴 void

TransferMarker() 공개 메소드

public TransferMarker ( byte player, int from, int to, System.Guid id, string name, ushort count, ushort origCount, bool isScriptChange ) : void
player byte
from int
to int
id System.Guid
name string
count ushort
origCount ushort
isScriptChange bool
리턴 void

Turn() 공개 메소드

public Turn ( byte player, int card, bool up ) : void
player byte
card int
up bool
리턴 void

UnaliasDeprecated() 공개 메소드

public UnaliasDeprecated ( int card, ulong type ) : void
card int
type ulong
리턴 void

UnaliasGrpDeprecated() 공개 메소드

public UnaliasGrpDeprecated ( int group ) : void
group int
리턴 void

Untarget() 공개 메소드

public Untarget ( byte player, int card, bool isScriptChange ) : void
player byte
card int
isScriptChange bool
리턴 void

Welcome() 공개 메소드

public Welcome ( byte id, System.Guid gameSessionId, bool waitForGameState ) : void
id byte
gameSessionId System.Guid
waitForGameState bool
리턴 void