Alternate constructor for SquadInfo
that ignores the Option requirement for the fields.
This constructor is used by taskAndContinentCodec
.
Alternate constructor for SquadInfo
that ignores the Option requirement for the fields.
This constructor is used by taskAndContinentCodec
.
the task the squad is trying to perform
the continent on which the squad is acting
a SquadInfo
object
Alternate constructor for SquadInfo
that ignores the Option
requirement for the fields.
This constructor is used by leaderSizeCodec
.
Alternate constructor for SquadInfo
that ignores the Option
requirement for the fields.
This constructor is used by leaderSizeCodec
.
the name of the squad leader
the current size of the squad
a SquadInfo
object
Alternate constructor for SquadInfo
that ignores the Option
requirement for the important field.
This constructor is not actually used at the moment.
Alternate constructor for SquadInfo
that ignores the Option
requirement for the important field.
This constructor is not actually used at the moment.
Two of the fields normally are Option[Int]
s.
Only the capacity
field in this packet is an Int
, giving the method a distinct signature.
Recommended use: SquadInfo(None, capacity)
Exploration:
We do not currently know any SquadHeader
action codes for adjusting capacity
.
the current size of the squad
the maximum number of members that the squad can tolerate, if not None
a SquadInfo
object
Alternate constructor for SquadInfo
that ignores the Option
requirement for the important field.
This constructor is used by sizeCodec
.
Alternate constructor for SquadInfo
that ignores the Option
requirement for the important field.
This constructor is used by sizeCodec
.
Two of the fields normally are Option[Int]
s.
Only the size
field in this packet is an Int
, giving the method a distinct signature.
Recommended use: SquadInfo(size, None)
Exploration:
We do not currently know any SquadHeader
action codes for adjusting capacity
.
the current size of the squad
the maximum number of members that the squad can tolerate, if not None
a SquadInfo
object
Alternate constructor for SquadInfo
that ignores the Option
requirement for the field.
This constructor is used by taskOrContinentCodec
.
Alternate constructor for SquadInfo
that ignores the Option
requirement for the field.
This constructor is used by taskOrContinentCodec
.
the continent on which the squad is acting
a SquadInfo
object
Alternate constructor for SquadInfo
that ignores the Option
requirement for the important field.
This constructor is used by taskOrContinentCodec
.
Alternate constructor for SquadInfo
that ignores the Option
requirement for the important field.
This constructor is used by taskOrContinentCodec
.
Two of the fields normally are Option[String]
s.
Only the task
field in this packet is a String
, giving the method a distinct signature.
The other field - an Option[String]
for leader
- can still be set if passed.
Recommended use: SquadInfo(None, task)
the name of the squad leader, if not None
the task the squad is trying to perform
a SquadInfo
object
Alternate constructor for SquadInfo
that ignores the Option
requirement for the important field.
This constructor is used by leaderCodec
.
Alternate constructor for SquadInfo
that ignores the Option
requirement for the important field.
This constructor is used by leaderCodec
.
Two of the fields normally are Option[String]
s.
Only the leader
field in this packet is a String
, giving the method a distinct signature.
The other field - an Option[String]
for task
- can still be set if passed.
Recommended use: SquadInfo(leader, None)
the name of the squad leader
the task the squad is trying to perform, if not None
a SquadInfo
object
Alternate constructor for SquadInfo
that ignores the Option
requirement for the fields.
This constructor is used by the initCodec
, alt_initCodec
, and allCodec
.
Alternate constructor for SquadInfo
that ignores the Option
requirement for the fields.
This constructor is used by the initCodec
, alt_initCodec
, and allCodec
.
the name of the squad leader
the task the squad is trying to perform
the continent on which the squad is acting
the current size of the squad
the maximum number of members that the squad can tolerate
a GUID associated with the squad, used to recover the squad definition
a SquadInfo
object
Alternate constructor for SquadInfo
that ignores the Option
requirement for the fields.
This constructor is not actually used at the moment.
Alternate constructor for SquadInfo
that ignores the Option
requirement for the fields.
This constructor is not actually used at the moment.
the name of the squad leader
the task the squad is trying to perform
the continent on which the squad is acting
the current size of the squad
the maximum number of members that the squad can tolerate
a SquadInfo
object