C# Class Octgn.Networking.BaseBinaryStub

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

Méthodes publiques

Méthode Description
AddMarkerReq ( Card card, System.Guid id, string name, ushort count, ushort origCount, bool isScriptChange ) : void
AddPacksReq ( System.Guid packs, bool selfOnly ) : void
AnchorCard ( Card id, Octgn.Play.Player player, bool anchor ) : void
Binary ( ) : void
Boot ( Octgn.Play.Player player, string reason ) : void
CancelLimitedReq ( ) : void
CardSwitchTo ( Octgn.Play.Player player, Card card, string alternate ) : void
ChatReq ( string text ) : void
CounterReq ( Octgn.Play.Counter counter, int value, bool isScriptChange ) : void
CreateAliasDeprecated ( int id, ulong type ) : void
CreateCard ( int id, System.Guid type, string size, Group group ) : void
CreateCardAt ( int id, System.Guid modelId, int x, int y, bool faceUp, bool persist ) : void
DeleteCard ( Card card, Octgn.Play.Player player ) : void
DontTakeReq ( Octgn.Play.ControllableObject id, Octgn.Play.Player to ) : void
Error ( string msg ) : void
Filter ( Card card, Color color ) : void
FreezeCardsVisibility ( Group group ) : void
GameState ( Octgn.Play.Player toPlayer, string state ) : void
GameStateReq ( Octgn.Play.Player player ) : void
GroupVisAddReq ( Group group, Octgn.Play.Player who ) : void
GroupVisRemoveReq ( Group group, Octgn.Play.Player who ) : void
GroupVisReq ( Group group, bool defined, bool visible ) : void
Hello ( string nick, ulong pkey, string client, System.Version clientVer, System.Version octgnVer, System.Guid gameId, System.Version gameVersion, string password, bool spectator ) : void
HelloAgain ( byte pid, string nick, ulong pkey, string client, System.Version clientVer, System.Version octgnVer, System.Guid gameId, System.Version gameVersion, string password ) : void
Highlight ( Card card, Color color ) : void
IsTableBackgroundFlipped ( bool isFlipped ) : void
Leave ( Octgn.Play.Player player ) : void
LoadDeck ( int id, System.Guid type, Group group, string size, string sleeve, bool limited ) : void
LookAtBottomReq ( int uid, Group group, int count, bool look ) : void
LookAtReq ( int uid, Group group, bool look ) : void
LookAtTopReq ( int uid, Group group, int count, bool look ) : void
MoveCardAtReq ( int id, int x, int y, int idx, bool isScriptMove, bool faceUp ) : void
MoveCardReq ( int id, Group group, int idx, bool faceUp, bool isScriptMove ) : void
NextTurn ( Octgn.Play.Player nextPlayer, bool force ) : void
NickReq ( string nick ) : void
PassToReq ( Octgn.Play.ControllableObject id, Octgn.Play.Player to, bool requested ) : void
PeekReq ( Card card ) : void
Ping ( ) : void
PlaySound ( Octgn.Play.Player player, string name ) : void
PlayerSetGlobalVariable ( Octgn.Play.Player player, string name, string oldval, string val ) : void
PlayerSettings ( Octgn.Play.Player playerId, bool invertedTable, bool spectator ) : void
PrintReq ( string text ) : void
RandomReq ( int min, int max ) : void
Ready ( Octgn.Play.Player player ) : void
RemoteCall ( Octgn.Play.Player player, string function, string args ) : void
RemoveMarkerReq ( Card card, System.Guid id, string name, ushort count, ushort origCount, bool isScriptChange ) : void
ResetCardProperties ( Card id, Octgn.Play.Player player ) : void
ResetReq ( ) : void
RotateReq ( Card card, CardOrientation rot ) : void
SetBoard ( string name ) : void
SetCardProperty ( Card id, Octgn.Play.Player 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 ( Octgn.Play.Player player, string color ) : void
Settings ( bool twoSidedTable, bool allowSpectators, bool muteSpectators ) : void
ShuffleDeprecated ( Group group, int card ) : void
Shuffled ( Octgn.Play.Player player, Group group, int card, short pos ) : void
Start ( ) : void
StartLimitedReq ( System.Guid packs ) : void
StopPhaseReq ( int turnNumber, byte phase, bool stop ) : void
StopTurnReq ( int turnNumber, bool stop ) : void
TakeFromReq ( Octgn.Play.ControllableObject id, Octgn.Play.Player from ) : void
TargetArrowReq ( Card card, Card otherCard, bool isScriptChange ) : void
TargetReq ( Card card, bool isScriptChange ) : void
TransferMarkerReq ( Card from, Card to, System.Guid id, string name, ushort count, ushort origCount, bool isScriptChange ) : void
TurnReq ( Card card, bool up ) : void
UnaliasDeprecated ( int card, ulong type ) : void
UnaliasGrpDeprecated ( Group group ) : void
UntargetReq ( Card card, bool isScriptChange ) : void

Méthodes protégées

Méthode Description
Send ( byte data ) : void

Method Details

AddMarkerReq() public méthode

public AddMarkerReq ( Card card, System.Guid id, string name, ushort count, ushort origCount, bool isScriptChange ) : void
card Octgn.Play.Card
id System.Guid
name string
count ushort
origCount ushort
isScriptChange bool
Résultat void

AddPacksReq() public méthode

public AddPacksReq ( System.Guid packs, bool selfOnly ) : void
packs System.Guid
selfOnly bool
Résultat void

AnchorCard() public méthode

public AnchorCard ( Card id, Octgn.Play.Player player, bool anchor ) : void
id Octgn.Play.Card
player Octgn.Play.Player
anchor bool
Résultat void

Binary() public méthode

public Binary ( ) : void
Résultat void

Boot() public méthode

public Boot ( Octgn.Play.Player player, string reason ) : void
player Octgn.Play.Player
reason string
Résultat void

CancelLimitedReq() public méthode

public CancelLimitedReq ( ) : void
Résultat void

CardSwitchTo() public méthode

public CardSwitchTo ( Octgn.Play.Player player, Card card, string alternate ) : void
player Octgn.Play.Player
card Octgn.Play.Card
alternate string
Résultat void

ChatReq() public méthode

public ChatReq ( string text ) : void
text string
Résultat void

CounterReq() public méthode

public CounterReq ( Octgn.Play.Counter counter, int value, bool isScriptChange ) : void
counter Octgn.Play.Counter
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, Group group ) : void
id int
type System.Guid
size string
group Group
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 ( Card card, Octgn.Play.Player player ) : void
card Octgn.Play.Card
player Octgn.Play.Player
Résultat void

DontTakeReq() public méthode

public DontTakeReq ( Octgn.Play.ControllableObject id, Octgn.Play.Player to ) : void
id Octgn.Play.ControllableObject
to Octgn.Play.Player
Résultat void

Error() public méthode

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

Filter() public méthode

public Filter ( Card card, Color color ) : void
card Octgn.Play.Card
color Color
Résultat void

FreezeCardsVisibility() public méthode

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

GameState() public méthode

public GameState ( Octgn.Play.Player toPlayer, string state ) : void
toPlayer Octgn.Play.Player
state string
Résultat void

GameStateReq() public méthode

public GameStateReq ( Octgn.Play.Player player ) : void
player Octgn.Play.Player
Résultat void

GroupVisAddReq() public méthode

public GroupVisAddReq ( Group group, Octgn.Play.Player who ) : void
group Group
who Octgn.Play.Player
Résultat void

GroupVisRemoveReq() public méthode

public GroupVisRemoveReq ( Group group, Octgn.Play.Player who ) : void
group Group
who Octgn.Play.Player
Résultat void

GroupVisReq() public méthode

public GroupVisReq ( Group group, bool defined, bool visible ) : void
group Group
defined bool
visible bool
Résultat void

Hello() public méthode

public Hello ( string nick, ulong pkey, string client, System.Version clientVer, System.Version octgnVer, System.Guid gameId, System.Version gameVersion, string password, bool spectator ) : void
nick string
pkey ulong
client string
clientVer System.Version
octgnVer System.Version
gameId System.Guid
gameVersion System.Version
password string
spectator bool
Résultat void

HelloAgain() public méthode

public HelloAgain ( byte pid, string nick, ulong pkey, string client, System.Version clientVer, System.Version octgnVer, System.Guid gameId, System.Version gameVersion, string password ) : void
pid byte
nick string
pkey ulong
client string
clientVer System.Version
octgnVer System.Version
gameId System.Guid
gameVersion System.Version
password string
Résultat void

Highlight() public méthode

public Highlight ( Card card, Color color ) : void
card Octgn.Play.Card
color Color
Résultat void

IsTableBackgroundFlipped() public méthode

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

Leave() public méthode

public Leave ( Octgn.Play.Player player ) : void
player Octgn.Play.Player
Résultat void

LoadDeck() public méthode

public LoadDeck ( int id, System.Guid type, Group group, string size, string sleeve, bool limited ) : void
id int
type System.Guid
group Group
size string
sleeve string
limited bool
Résultat void

LookAtBottomReq() public méthode

public LookAtBottomReq ( int uid, Group group, int count, bool look ) : void
uid int
group Group
count int
look bool
Résultat void

LookAtReq() public méthode

public LookAtReq ( int uid, Group group, bool look ) : void
uid int
group Group
look bool
Résultat void

LookAtTopReq() public méthode

public LookAtTopReq ( int uid, Group group, int count, bool look ) : void
uid int
group Group
count int
look bool
Résultat void

MoveCardAtReq() public méthode

public MoveCardAtReq ( int id, int x, int y, int idx, bool isScriptMove, bool faceUp ) : void
id int
x int
y int
idx int
isScriptMove bool
faceUp bool
Résultat void

MoveCardReq() public méthode

public MoveCardReq ( int id, Group group, int idx, bool faceUp, bool isScriptMove ) : void
id int
group Group
idx int
faceUp bool
isScriptMove bool
Résultat void

NextTurn() public méthode

public NextTurn ( Octgn.Play.Player nextPlayer, bool force ) : void
nextPlayer Octgn.Play.Player
force bool
Résultat void

NickReq() public méthode

public NickReq ( string nick ) : void
nick string
Résultat void

PassToReq() public méthode

public PassToReq ( Octgn.Play.ControllableObject id, Octgn.Play.Player to, bool requested ) : void
id Octgn.Play.ControllableObject
to Octgn.Play.Player
requested bool
Résultat void

PeekReq() public méthode

public PeekReq ( Card card ) : void
card Octgn.Play.Card
Résultat void

Ping() public méthode

public Ping ( ) : void
Résultat void

PlaySound() public méthode

public PlaySound ( Octgn.Play.Player player, string name ) : void
player Octgn.Play.Player
name string
Résultat void

PlayerSetGlobalVariable() public méthode

public PlayerSetGlobalVariable ( Octgn.Play.Player player, string name, string oldval, string val ) : void
player Octgn.Play.Player
name string
oldval string
val string
Résultat void

PlayerSettings() public méthode

public PlayerSettings ( Octgn.Play.Player playerId, bool invertedTable, bool spectator ) : void
playerId Octgn.Play.Player
invertedTable bool
spectator bool
Résultat void

PrintReq() public méthode

public PrintReq ( string text ) : void
text string
Résultat void

RandomReq() public méthode

public RandomReq ( int min, int max ) : void
min int
max int
Résultat void

Ready() public méthode

public Ready ( Octgn.Play.Player player ) : void
player Octgn.Play.Player
Résultat void

RemoteCall() public méthode

public RemoteCall ( Octgn.Play.Player player, string function, string args ) : void
player Octgn.Play.Player
function string
args string
Résultat void

RemoveMarkerReq() public méthode

public RemoveMarkerReq ( Card card, System.Guid id, string name, ushort count, ushort origCount, bool isScriptChange ) : void
card Octgn.Play.Card
id System.Guid
name string
count ushort
origCount ushort
isScriptChange bool
Résultat void

ResetCardProperties() public méthode

public ResetCardProperties ( Card id, Octgn.Play.Player player ) : void
id Octgn.Play.Card
player Octgn.Play.Player
Résultat void

ResetReq() public méthode

public ResetReq ( ) : void
Résultat void

RotateReq() public méthode

public RotateReq ( Card card, CardOrientation rot ) : void
card Octgn.Play.Card
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 ( Card id, Octgn.Play.Player player, string name, string val, string valtype ) : void
id Octgn.Play.Card
player Octgn.Play.Player
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 ( Octgn.Play.Player player, string color ) : void
player Octgn.Play.Player
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 ( Group group, int card ) : void
group Group
card int
Résultat void

Shuffled() public méthode

public Shuffled ( Octgn.Play.Player player, Group group, int card, short pos ) : void
player Octgn.Play.Player
group Group
card int
pos short
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

StartLimitedReq() public méthode

public StartLimitedReq ( System.Guid packs ) : void
packs System.Guid
Résultat void

StopPhaseReq() public méthode

public StopPhaseReq ( int turnNumber, byte phase, bool stop ) : void
turnNumber int
phase byte
stop bool
Résultat void

StopTurnReq() public méthode

public StopTurnReq ( int turnNumber, bool stop ) : void
turnNumber int
stop bool
Résultat void

TakeFromReq() public méthode

public TakeFromReq ( Octgn.Play.ControllableObject id, Octgn.Play.Player from ) : void
id Octgn.Play.ControllableObject
from Octgn.Play.Player
Résultat void

TargetArrowReq() public méthode

public TargetArrowReq ( Card card, Card otherCard, bool isScriptChange ) : void
card Octgn.Play.Card
otherCard Octgn.Play.Card
isScriptChange bool
Résultat void

TargetReq() public méthode

public TargetReq ( Card card, bool isScriptChange ) : void
card Octgn.Play.Card
isScriptChange bool
Résultat void

TransferMarkerReq() public méthode

public TransferMarkerReq ( Card from, Card to, System.Guid id, string name, ushort count, ushort origCount, bool isScriptChange ) : void
from Octgn.Play.Card
to Octgn.Play.Card
id System.Guid
name string
count ushort
origCount ushort
isScriptChange bool
Résultat void

TurnReq() public méthode

public TurnReq ( Card card, bool up ) : void
card Octgn.Play.Card
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 ( Group group ) : void
group Group
Résultat void

UntargetReq() public méthode

public UntargetReq ( Card card, bool isScriptChange ) : void
card Octgn.Play.Card
isScriptChange bool
Résultat void