Documentation ¶
Index ¶
- Constants
- type BitContainer
- type FloorI
- type VisitArea
- func (va *VisitArea) CalcCompleteRate() float64
- func (va *VisitArea) CheckAndSetNolock(x, y int)
- func (va *VisitArea) Cleanup()
- func (va *VisitArea) Dup() *VisitArea
- func (va *VisitArea) Forget() int
- func (va *VisitArea) GetCompleteTileCount() int
- func (va *VisitArea) GetDiscoverExp() int
- func (va *VisitArea) GetDiscoveredTileCount() int
- func (va *VisitArea) GetName() string
- func (va *VisitArea) GetUUID() string
- func (va *VisitArea) GetXYNolock(x, y int) bool
- func (va *VisitArea) IsComplete() bool
- func (va *VisitArea) IsCompleteNoLock() bool
- func (va *VisitArea) MakeComplete() int
- func (va *VisitArea) SetXYNolock(x, y int)
- func (va *VisitArea) String() string
- func (va *VisitArea) ToImage(zoom int) *image.RGBA
- func (va *VisitArea) UpdateBySightMat2(floorTiles tilearea.TileArea, vpCenterX, vpCenterY int, ...) int
- func (va *VisitArea) UpdateByViewport2(vpCenterX, vpCenterY int, vpTiles *viewportdata.ViewportTileArea2, ...) int
- func (va *VisitArea) Web_Image(w http.ResponseWriter, r *http.Request) error
Constants ¶
View Source
const BitLen = 8
View Source
const FullBit = 0xff
View Source
const MaskBit = BitLen - 1
View Source
const PosShift = 3
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BitContainer ¶
type BitContainer uint8
type VisitArea ¶
type VisitArea struct {
// contains filtered or unexported fields
}
func (*VisitArea) CalcCompleteRate ¶
func (*VisitArea) CheckAndSetNolock ¶
func (*VisitArea) GetCompleteTileCount ¶
func (*VisitArea) GetDiscoverExp ¶
func (*VisitArea) GetDiscoveredTileCount ¶
func (*VisitArea) GetXYNolock ¶
func (*VisitArea) IsComplete ¶
func (*VisitArea) IsCompleteNoLock ¶
func (*VisitArea) MakeComplete ¶
func (*VisitArea) SetXYNolock ¶
func (*VisitArea) UpdateBySightMat2 ¶
func (va *VisitArea) UpdateBySightMat2( floorTiles tilearea.TileArea, vpCenterX, vpCenterY int, sightMat *viewportdata.ViewportSight2, sight float32) int
server use only
func (*VisitArea) UpdateByViewport2 ¶
func (va *VisitArea) UpdateByViewport2( vpCenterX, vpCenterY int, vpTiles *viewportdata.ViewportTileArea2, vpXYLenList findnear.XYLenList, ) int
client use only
Click to show internal directories.
Click to hide internal directories.