Documentation ¶
Index ¶
- type Floor
- func (f *Floor) ActiveObjDropCarryObjByDie(ao gamei.ActiveObjectI, aox, aoy int) error
- func (f *Floor) Call_APIAdminTeleport2Floor(ActiveObj gamei.ActiveObjectI, ReqPk *csprotocol.ReqAdminTeleport) returncode.ReturnCode
- func (f *Floor) Cleanup()
- func (f *Floor) CmdChState() string
- func (f *Floor) FindPath(dstx, dsty, srcx, srcy int, trylimit int) [][2]int
- func (f *Floor) FindUsablePortalPairAt(x, y int) (*fieldobject.FieldObject, *fieldobject.FieldObject, error)
- func (f *Floor) GetActiveObjPosMan() uuidposmani.UUIDPosManI
- func (f *Floor) GetAllActiveObj() []gamei.ActiveObjectI
- func (f *Floor) GetBias() bias.Bias
- func (f *Floor) GetCarryObjPosMan() uuidposmani.UUIDPosManI
- func (f *Floor) GetCmdCh() chan<- interface{}
- func (f *Floor) GetCmdFloorActStat() *actpersec.ActPerSec
- func (f *Floor) GetEnvBias() bias.Bias
- func (f *Floor) GetFieldObjPosMan() uuidposmani.UUIDPosManI
- func (f *Floor) GetHeight() int
- func (f *Floor) GetInterDur() *intervalduration.IntervalDuration
- func (f *Floor) GetName() string
- func (f *Floor) GetTerrain() terraini.TerrainI
- func (f *Floor) GetTower() gamei.TowerI
- func (f *Floor) GetWidth() int
- func (f *Floor) Init() error
- func (f *Floor) Initialized() bool
- func (f *Floor) MakeImage(zoom int) *image.RGBA
- func (f *Floor) ProcessAllCmds()
- func (f *Floor) Run(ctx context.Context, queuesize int)
- func (f *Floor) SearchRandomActiveObjPos() (int, int, error)
- func (f *Floor) SearchRandomActiveObjPosInRoomOrRandPos() (int, int, error)
- func (f *Floor) String() string
- func (f *Floor) ToPacket_FloorInfo() *csprotocol.FloorInfo
- func (f *Floor) ToPacket_NotiAgeing() *csprotocol.NotiAgeing
- func (f *Floor) TotalActiveObjCount() int
- func (f *Floor) TotalCarryObjCount() int
- func (f *Floor) Turn(TurnCount int)
- func (f *Floor) VisitableCount() int
- func (f *Floor) Web_FloorImageAutoZoom(w http.ResponseWriter, r *http.Request)
- func (f *Floor) Web_FloorImageZoom(w http.ResponseWriter, r *http.Request)
- func (f *Floor) Web_FloorInfo(w http.ResponseWriter, r *http.Request)
- func (f *Floor) Web_TileInfo(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Floor ¶
type Floor struct {
// contains filtered or unexported fields
}
func (*Floor) ActiveObjDropCarryObjByDie ¶
func (f *Floor) ActiveObjDropCarryObjByDie(ao gamei.ActiveObjectI, aox, aoy int) error
func (*Floor) Call_APIAdminTeleport2Floor ¶
func (f *Floor) Call_APIAdminTeleport2Floor( ActiveObj gamei.ActiveObjectI, ReqPk *csprotocol.ReqAdminTeleport) returncode.ReturnCode
func (*Floor) CmdChState ¶
func (*Floor) FindUsablePortalPairAt ¶
func (f *Floor) FindUsablePortalPairAt( x, y int) (*fieldobject.FieldObject, *fieldobject.FieldObject, error)
func (*Floor) GetActiveObjPosMan ¶
func (f *Floor) GetActiveObjPosMan() uuidposmani.UUIDPosManI
func (*Floor) GetAllActiveObj ¶
func (f *Floor) GetAllActiveObj() []gamei.ActiveObjectI
func (*Floor) GetCarryObjPosMan ¶
func (f *Floor) GetCarryObjPosMan() uuidposmani.UUIDPosManI
func (*Floor) GetCmdFloorActStat ¶
func (*Floor) GetEnvBias ¶
func (*Floor) GetFieldObjPosMan ¶
func (f *Floor) GetFieldObjPosMan() uuidposmani.UUIDPosManI
func (*Floor) GetInterDur ¶
func (f *Floor) GetInterDur() *intervalduration.IntervalDuration
func (*Floor) GetTerrain ¶
func (*Floor) Initialized ¶
func (*Floor) ProcessAllCmds ¶
func (f *Floor) ProcessAllCmds()
func (*Floor) SearchRandomActiveObjPos ¶
func (*Floor) SearchRandomActiveObjPosInRoomOrRandPos ¶
func (*Floor) ToPacket_FloorInfo ¶
func (f *Floor) ToPacket_FloorInfo() *csprotocol.FloorInfo
func (*Floor) ToPacket_NotiAgeing ¶
func (f *Floor) ToPacket_NotiAgeing() *csprotocol.NotiAgeing
func (*Floor) TotalActiveObjCount ¶
func (*Floor) TotalCarryObjCount ¶
func (*Floor) Web_FloorImageAutoZoom ¶
func (f *Floor) Web_FloorImageAutoZoom(w http.ResponseWriter, r *http.Request)
func (*Floor) Web_FloorImageZoom ¶
func (f *Floor) Web_FloorImageZoom(w http.ResponseWriter, r *http.Request)
func (*Floor) Web_FloorInfo ¶
func (f *Floor) Web_FloorInfo(w http.ResponseWriter, r *http.Request)
func (*Floor) Web_TileInfo ¶
func (f *Floor) Web_TileInfo(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.