C# Class Octgn.Networking.BaseBinaryStub

Inheritance: Octgn.Server.IServerCalls
Exibir arquivo Open project: octgn/OCTGN

Public Methods

Method 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

Protected Methods

Method Description
Send ( byte data ) : void

Method Details

AddMarkerReq() public method

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
return void

AddPacksReq() public method

public AddPacksReq ( System.Guid packs, bool selfOnly ) : void
packs System.Guid
selfOnly bool
return void

AnchorCard() public method

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

Binary() public method

public Binary ( ) : void
return void

Boot() public method

public Boot ( Octgn.Play.Player player, string reason ) : void
player Octgn.Play.Player
reason string
return void

CancelLimitedReq() public method

public CancelLimitedReq ( ) : void
return void

CardSwitchTo() public method

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

ChatReq() public method

public ChatReq ( string text ) : void
text string
return void

CounterReq() public method

public CounterReq ( Octgn.Play.Counter counter, int value, bool isScriptChange ) : void
counter Octgn.Play.Counter
value int
isScriptChange bool
return void

CreateAliasDeprecated() public method

public CreateAliasDeprecated ( int id, ulong type ) : void
id int
type ulong
return void

CreateCard() public method

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

CreateCardAt() public method

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
return void

DeleteCard() public method

public DeleteCard ( Card card, Octgn.Play.Player player ) : void
card Octgn.Play.Card
player Octgn.Play.Player
return void

DontTakeReq() public method

public DontTakeReq ( Octgn.Play.ControllableObject id, Octgn.Play.Player to ) : void
id Octgn.Play.ControllableObject
to Octgn.Play.Player
return void

Error() public method

public Error ( string msg ) : void
msg string
return void

Filter() public method

public Filter ( Card card, Color color ) : void
card Octgn.Play.Card
color Color
return void

FreezeCardsVisibility() public method

public FreezeCardsVisibility ( Group group ) : void
group Group
return void

GameState() public method

public GameState ( Octgn.Play.Player toPlayer, string state ) : void
toPlayer Octgn.Play.Player
state string
return void

GameStateReq() public method

public GameStateReq ( Octgn.Play.Player player ) : void
player Octgn.Play.Player
return void

GroupVisAddReq() public method

public GroupVisAddReq ( Group group, Octgn.Play.Player who ) : void
group Group
who Octgn.Play.Player
return void

GroupVisRemoveReq() public method

public GroupVisRemoveReq ( Group group, Octgn.Play.Player who ) : void
group Group
who Octgn.Play.Player
return void

GroupVisReq() public method

public GroupVisReq ( Group group, bool defined, bool visible ) : void
group Group
defined bool
visible bool
return void

Hello() public method

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
return void

HelloAgain() public method

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
return void

Highlight() public method

public Highlight ( Card card, Color color ) : void
card Octgn.Play.Card
color Color
return void

IsTableBackgroundFlipped() public method

public IsTableBackgroundFlipped ( bool isFlipped ) : void
isFlipped bool
return void

Leave() public method

public Leave ( Octgn.Play.Player player ) : void
player Octgn.Play.Player
return void

LoadDeck() public method

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
return void

LookAtBottomReq() public method

public LookAtBottomReq ( int uid, Group group, int count, bool look ) : void
uid int
group Group
count int
look bool
return void

LookAtReq() public method

public LookAtReq ( int uid, Group group, bool look ) : void
uid int
group Group
look bool
return void

LookAtTopReq() public method

public LookAtTopReq ( int uid, Group group, int count, bool look ) : void
uid int
group Group
count int
look bool
return void

MoveCardAtReq() public method

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
return void

MoveCardReq() public method

public MoveCardReq ( int id, Group group, int idx, bool faceUp, bool isScriptMove ) : void
id int
group Group
idx int
faceUp bool
isScriptMove bool
return void

NextTurn() public method

public NextTurn ( Octgn.Play.Player nextPlayer, bool force ) : void
nextPlayer Octgn.Play.Player
force bool
return void

NickReq() public method

public NickReq ( string nick ) : void
nick string
return void

PassToReq() public method

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

PeekReq() public method

public PeekReq ( Card card ) : void
card Octgn.Play.Card
return void

Ping() public method

public Ping ( ) : void
return void

PlaySound() public method

public PlaySound ( Octgn.Play.Player player, string name ) : void
player Octgn.Play.Player
name string
return void

PlayerSetGlobalVariable() public method

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

PlayerSettings() public method

public PlayerSettings ( Octgn.Play.Player playerId, bool invertedTable, bool spectator ) : void
playerId Octgn.Play.Player
invertedTable bool
spectator bool
return void

PrintReq() public method

public PrintReq ( string text ) : void
text string
return void

RandomReq() public method

public RandomReq ( int min, int max ) : void
min int
max int
return void

Ready() public method

public Ready ( Octgn.Play.Player player ) : void
player Octgn.Play.Player
return void

RemoteCall() public method

public RemoteCall ( Octgn.Play.Player player, string function, string args ) : void
player Octgn.Play.Player
function string
args string
return void

RemoveMarkerReq() public method

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
return void

ResetCardProperties() public method

public ResetCardProperties ( Card id, Octgn.Play.Player player ) : void
id Octgn.Play.Card
player Octgn.Play.Player
return void

ResetReq() public method

public ResetReq ( ) : void
return void

RotateReq() public method

public RotateReq ( Card card, CardOrientation rot ) : void
card Octgn.Play.Card
rot CardOrientation
return void

Send() protected abstract method

protected abstract Send ( byte data ) : void
data byte
return void

SetBoard() public method

public SetBoard ( string name ) : void
name string
return void

SetCardProperty() public method

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
return void

SetGlobalVariable() public method

public SetGlobalVariable ( string name, string oldval, string val ) : void
name string
oldval string
val string
return void

SetPhase() public method

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

SetPlayerColor() public method

public SetPlayerColor ( Octgn.Play.Player player, string color ) : void
player Octgn.Play.Player
color string
return void

Settings() public method

public Settings ( bool twoSidedTable, bool allowSpectators, bool muteSpectators ) : void
twoSidedTable bool
allowSpectators bool
muteSpectators bool
return void

ShuffleDeprecated() public method

public ShuffleDeprecated ( Group group, int card ) : void
group Group
card int
return void

Shuffled() public method

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

Start() public method

public Start ( ) : void
return void

StartLimitedReq() public method

public StartLimitedReq ( System.Guid packs ) : void
packs System.Guid
return void

StopPhaseReq() public method

public StopPhaseReq ( int turnNumber, byte phase, bool stop ) : void
turnNumber int
phase byte
stop bool
return void

StopTurnReq() public method

public StopTurnReq ( int turnNumber, bool stop ) : void
turnNumber int
stop bool
return void

TakeFromReq() public method

public TakeFromReq ( Octgn.Play.ControllableObject id, Octgn.Play.Player from ) : void
id Octgn.Play.ControllableObject
from Octgn.Play.Player
return void

TargetArrowReq() public method

public TargetArrowReq ( Card card, Card otherCard, bool isScriptChange ) : void
card Octgn.Play.Card
otherCard Octgn.Play.Card
isScriptChange bool
return void

TargetReq() public method

public TargetReq ( Card card, bool isScriptChange ) : void
card Octgn.Play.Card
isScriptChange bool
return void

TransferMarkerReq() public method

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
return void

TurnReq() public method

public TurnReq ( Card card, bool up ) : void
card Octgn.Play.Card
up bool
return void

UnaliasDeprecated() public method

public UnaliasDeprecated ( int card, ulong type ) : void
card int
type ulong
return void

UnaliasGrpDeprecated() public method

public UnaliasGrpDeprecated ( Group group ) : void
group Group
return void

UntargetReq() public method

public UntargetReq ( Card card, bool isScriptChange ) : void
card Octgn.Play.Card
isScriptChange bool
return void