C# Class Octgn.Server.BaseBinaryStub

Inheritance: Octgn.Server.IClientCalls
Afficher le fichier Open project: octgn/OCTGN

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
Send ( byte data ) : void

Method Details

AddMarker() public méthode

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
Résultat void

AddPacks() public méthode

public AddPacks ( byte player, System.Guid packs, bool selfOnly ) : void
player byte
packs System.Guid
selfOnly bool
Résultat void

AnchorCard() public méthode

public AnchorCard ( int id, byte player, bool anchor ) : void
id int
player byte
anchor bool
Résultat void

BaseBinaryStub() public méthode

public BaseBinaryStub ( Handler handler ) : System
handler Handler
Résultat System

Binary() public méthode

public Binary ( ) : void
Résultat void

CancelLimited() public méthode

public CancelLimited ( byte player ) : void
player byte
Résultat void

CardSwitchTo() public méthode

public CardSwitchTo ( byte player, int card, string alternate ) : void
player byte
card int
alternate string
Résultat void

Chat() public méthode

public Chat ( byte player, string text ) : void
player byte
text string
Résultat void

Counter() public méthode

public Counter ( byte player, int counter, int value, bool isScriptChange ) : void
player byte
counter int
value int
isScriptChange bool
Résultat void

CreateAliasDeprecated() public méthode

public CreateAliasDeprecated ( int id, ulong type ) : void
id int
type ulong
Résultat void

CreateCard() public méthode

public CreateCard ( int id, System.Guid type, string size, int group ) : void
id int
type System.Guid
size string
group int
Résultat void

CreateCardAt() public méthode

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
Résultat void

DeleteCard() public méthode

public DeleteCard ( int card, byte player ) : void
card int
player byte
Résultat void

DontTake() public méthode

public DontTake ( int id ) : void
id int
Résultat void

Error() public méthode

public Error ( string msg ) : void
msg string
Résultat void

Filter() public méthode

public Filter ( int card, string color ) : void
card int
color string
Résultat void

FreezeCardsVisibility() public méthode

public FreezeCardsVisibility ( int group ) : void
group int
Résultat void

GameState() public méthode

public GameState ( byte toPlayer, string state ) : void
toPlayer byte
state string
Résultat void

GameStateReq() public méthode

public GameStateReq ( byte player ) : void
player byte
Résultat void

GroupVis() public méthode

public GroupVis ( byte player, int group, bool defined, bool visible ) : void
player byte
group int
defined bool
visible bool
Résultat void

GroupVisAdd() public méthode

public GroupVisAdd ( byte player, int group, byte who ) : void
player byte
group int
who byte
Résultat void

GroupVisRemove() public méthode

public GroupVisRemove ( byte player, int group, byte who ) : void
player byte
group int
who byte
Résultat void

Highlight() public méthode

public Highlight ( int card, string color ) : void
card int
color string
Résultat void

IsTableBackgroundFlipped() public méthode

public IsTableBackgroundFlipped ( bool isFlipped ) : void
isFlipped bool
Résultat void

Kick() public méthode

public Kick ( string reason ) : void
reason string
Résultat void

Leave() public méthode

public Leave ( byte player ) : void
player byte
Résultat void

LoadDeck() public méthode

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
Résultat void

LookAt() public méthode

public LookAt ( byte player, int uid, int group, bool look ) : void
player byte
uid int
group int
look bool
Résultat void

LookAtBottom() public méthode

public LookAtBottom ( byte player, int uid, int group, int count, bool look ) : void
player byte
uid int
group int
count int
look bool
Résultat void

LookAtTop() public méthode

public LookAtTop ( byte player, int uid, int group, int count, bool look ) : void
player byte
uid int
group int
count int
look bool
Résultat void

MoveCard() public méthode

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
Résultat void

MoveCardAt() public méthode

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
Résultat void

NewPlayer() public méthode

public NewPlayer ( byte id, string nick, ulong pkey, bool tableSide, bool spectator ) : void
id byte
nick string
pkey ulong
tableSide bool
spectator bool
Résultat void

NextTurn() public méthode

public NextTurn ( byte nextPlayer, bool force ) : void
nextPlayer byte
force bool
Résultat void

Nick() public méthode

public Nick ( byte player, string nick ) : void
player byte
nick string
Résultat void

PassTo() public méthode

public PassTo ( byte player, int id, byte to, bool requested ) : void
player byte
id int
to byte
requested bool
Résultat void

Peek() public méthode

public Peek ( byte player, int card ) : void
player byte
card int
Résultat void

Ping() public méthode

public Ping ( ) : void
Résultat void

PlaySound() public méthode

public PlaySound ( byte player, string name ) : void
player byte
name string
Résultat void

PlayerDisconnect() public méthode

public PlayerDisconnect ( byte player ) : void
player byte
Résultat void

PlayerSetGlobalVariable() public méthode

public PlayerSetGlobalVariable ( byte player, string name, string oldval, string val ) : void
player byte
name string
oldval string
val string
Résultat void

PlayerSettings() public méthode

public PlayerSettings ( byte playerId, bool invertedTable, bool spectator ) : void
playerId byte
invertedTable bool
spectator bool
Résultat void

PlayerState() public méthode

public PlayerState ( byte player, byte state ) : void
player byte
state byte
Résultat void

Print() public méthode

public Print ( byte player, string text ) : void
player byte
text string
Résultat void

Random() public méthode

public Random ( int result ) : void
result int
Résultat void

Ready() public méthode

public Ready ( byte player ) : void
player byte
Résultat void

RemoteCall() public méthode

public RemoteCall ( byte player, string function, string args ) : void
player byte
function string
args string
Résultat void

RemoveMarker() public méthode

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
Résultat void

Reset() public méthode

public Reset ( byte player ) : void
player byte
Résultat void

ResetCardProperties() public méthode

public ResetCardProperties ( int id, byte player ) : void
id int
player byte
Résultat void

Rotate() public méthode

public Rotate ( byte player, int card, CardOrientation rot ) : void
player byte
card int
rot CardOrientation
Résultat void

Send() protected abstract méthode

protected abstract Send ( byte data ) : void
data byte
Résultat void

SetBoard() public méthode

public SetBoard ( string name ) : void
name string
Résultat void

SetCardProperty() public méthode

public SetCardProperty ( int id, byte player, string name, string val, string valtype ) : void
id int
player byte
name string
val string
valtype string
Résultat void

SetGlobalVariable() public méthode

public SetGlobalVariable ( string name, string oldval, string val ) : void
name string
oldval string
val string
Résultat void

SetPhase() public méthode

public SetPhase ( byte phase, byte nextPhase, bool force ) : void
phase byte
nextPhase byte
force bool
Résultat void

SetPlayerColor() public méthode

public SetPlayerColor ( byte player, string color ) : void
player byte
color string
Résultat void

Settings() public méthode

public Settings ( bool twoSidedTable, bool allowSpectators, bool muteSpectators ) : void
twoSidedTable bool
allowSpectators bool
muteSpectators bool
Résultat void

ShuffleDeprecated() public méthode

public ShuffleDeprecated ( int group, int card ) : void
group int
card int
Résultat void

Shuffled() public méthode

public Shuffled ( byte player, int group, int card, short pos ) : void
player byte
group int
card int
pos short
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

StartLimited() public méthode

public StartLimited ( byte player, System.Guid packs ) : void
player byte
packs System.Guid
Résultat void

StopPhase() public méthode

public StopPhase ( byte player, byte phase ) : void
player byte
phase byte
Résultat void

StopTurn() public méthode

public StopTurn ( byte player ) : void
player byte
Résultat void

TakeFrom() public méthode

public TakeFrom ( int id, byte to ) : void
id int
to byte
Résultat void

Target() public méthode

public Target ( byte player, int card, bool isScriptChange ) : void
player byte
card int
isScriptChange bool
Résultat void

TargetArrow() public méthode

public TargetArrow ( byte player, int card, int otherCard, bool isScriptChange ) : void
player byte
card int
otherCard int
isScriptChange bool
Résultat void

TransferMarker() public méthode

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
Résultat void

Turn() public méthode

public Turn ( byte player, int card, bool up ) : void
player byte
card int
up bool
Résultat void

UnaliasDeprecated() public méthode

public UnaliasDeprecated ( int card, ulong type ) : void
card int
type ulong
Résultat void

UnaliasGrpDeprecated() public méthode

public UnaliasGrpDeprecated ( int group ) : void
group int
Résultat void

Untarget() public méthode

public Untarget ( byte player, int card, bool isScriptChange ) : void
player byte
card int
isScriptChange bool
Résultat void

Welcome() public méthode

public Welcome ( byte id, System.Guid gameSessionId, bool waitForGameState ) : void
id byte
gameSessionId System.Guid
waitForGameState bool
Résultat void