Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
mud
v0.1.0
Mud
Game
Area
Command
Entity
Event
Help
Look
Name
Player
Room
Say
Shout
World
Net
ClientId
Joiner
Message
Negotiation
Option
OptionState
Server
State
Telnet
Built with Crystal 1.9.2
2023-10-07 17:37:02 UTC
class
Mud::Net::Option
Mud::Net::Option
Reference
Object
Overview
State for an option under negotiation (Q method).
Defined in:
net/telnet.cr
Constructors
.new
(us : OptionState, them : OptionState)
Class Method Summary
.no
.wantyes
Instance Method Summary
#them
: OptionState
#them=
(them : OptionState)
#us
: OptionState
#us=
(us : OptionState)
Constructor Detail
def self.
new
(us :
OptionState
, them :
OptionState
)
#
[
View source
]
Class Method Detail
def self.
no
#
[
View source
]
def self.
wantyes
#
[
View source
]
Instance Method Detail
def
them
:
OptionState
#
[
View source
]
def
them=
(them :
OptionState
)
#
[
View source
]
def
us
:
OptionState
#
[
View source
]
def
us=
(us :
OptionState
)
#
[
View source
]