C# 클래스 Octgn.Networking.BaseBinaryStub

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

공개 메소드들

메소드 설명
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

보호된 메소드들

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

메소드 상세

AddMarkerReq() 공개 메소드

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
리턴 void

AddPacksReq() 공개 메소드

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

AnchorCard() 공개 메소드

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

Binary() 공개 메소드

public Binary ( ) : void
리턴 void

Boot() 공개 메소드

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

CancelLimitedReq() 공개 메소드

public CancelLimitedReq ( ) : void
리턴 void

CardSwitchTo() 공개 메소드

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

ChatReq() 공개 메소드

public ChatReq ( string text ) : void
text string
리턴 void

CounterReq() 공개 메소드

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

DontTakeReq() 공개 메소드

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

Error() 공개 메소드

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

Filter() 공개 메소드

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

FreezeCardsVisibility() 공개 메소드

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

GameState() 공개 메소드

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

GameStateReq() 공개 메소드

public GameStateReq ( Octgn.Play.Player player ) : void
player Octgn.Play.Player
리턴 void

GroupVisAddReq() 공개 메소드

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

GroupVisRemoveReq() 공개 메소드

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

GroupVisReq() 공개 메소드

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

Hello() 공개 메소드

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
리턴 void

HelloAgain() 공개 메소드

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
리턴 void

Highlight() 공개 메소드

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

IsTableBackgroundFlipped() 공개 메소드

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

Leave() 공개 메소드

public Leave ( Octgn.Play.Player player ) : void
player Octgn.Play.Player
리턴 void

LoadDeck() 공개 메소드

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
리턴 void

LookAtBottomReq() 공개 메소드

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

LookAtReq() 공개 메소드

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

LookAtTopReq() 공개 메소드

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

MoveCardAtReq() 공개 메소드

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
리턴 void

MoveCardReq() 공개 메소드

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

NextTurn() 공개 메소드

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

NickReq() 공개 메소드

public NickReq ( string nick ) : void
nick string
리턴 void

PassToReq() 공개 메소드

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

PeekReq() 공개 메소드

public PeekReq ( Card card ) : void
card Octgn.Play.Card
리턴 void

Ping() 공개 메소드

public Ping ( ) : void
리턴 void

PlaySound() 공개 메소드

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

PlayerSetGlobalVariable() 공개 메소드

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

PlayerSettings() 공개 메소드

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

PrintReq() 공개 메소드

public PrintReq ( string text ) : void
text string
리턴 void

RandomReq() 공개 메소드

public RandomReq ( int min, int max ) : void
min int
max int
리턴 void

Ready() 공개 메소드

public Ready ( Octgn.Play.Player player ) : void
player Octgn.Play.Player
리턴 void

RemoteCall() 공개 메소드

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

RemoveMarkerReq() 공개 메소드

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
리턴 void

ResetCardProperties() 공개 메소드

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

ResetReq() 공개 메소드

public ResetReq ( ) : void
리턴 void

RotateReq() 공개 메소드

public RotateReq ( Card card, CardOrientation rot ) : void
card Octgn.Play.Card
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 ( 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
리턴 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 ( Octgn.Play.Player player, string color ) : void
player Octgn.Play.Player
color string
리턴 void

Settings() 공개 메소드

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

ShuffleDeprecated() 공개 메소드

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

Shuffled() 공개 메소드

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

Start() 공개 메소드

public Start ( ) : void
리턴 void

StartLimitedReq() 공개 메소드

public StartLimitedReq ( System.Guid packs ) : void
packs System.Guid
리턴 void

StopPhaseReq() 공개 메소드

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

StopTurnReq() 공개 메소드

public StopTurnReq ( int turnNumber, bool stop ) : void
turnNumber int
stop bool
리턴 void

TakeFromReq() 공개 메소드

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

TargetArrowReq() 공개 메소드

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

TargetReq() 공개 메소드

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

TransferMarkerReq() 공개 메소드

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
리턴 void

TurnReq() 공개 메소드

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

UnaliasDeprecated() 공개 메소드

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

UnaliasGrpDeprecated() 공개 메소드

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

UntargetReq() 공개 메소드

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