msg

package
v0.0.0-...-af4591a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2025 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CharacterItemLooting

type CharacterItemLooting struct {
	PID  *actor.PID
	OID  uint32
	Item entity.Item
}

type CharacterLootFailed

type CharacterLootFailed struct {
	OID uint32
}

type CharacterMapChanged

type CharacterMapChanged struct {
	MID        uint32
	Map        *actor.PID
	Init       bool
	SpawnPoint uint8
}

type CharacterMesoLooting

type CharacterMesoLooting struct {
	PID  *actor.PID
	OID  uint32
	Meso int32
}

type CharacterMove

type CharacterMove struct {
	Position types.Vector2[int16]
}

type EnterMap

type EnterMap struct {
	ID         uint32
	PID        *actor.PID
	SpawnPoint uint8
	Init       bool
}

맵에 오브젝트 등록

type ItemDestroy

type ItemDestroy struct {
	Animation constant.DropItemAnimationType
}

type ItemDropTypeChanged

type ItemDropTypeChanged struct {
	Mode constant.DropType
}

type ItemLooted

type ItemLooted struct {
	Success     bool
	CharacterId uint32
	Count       int32
}

type ItemLooting

type ItemLooting struct {
	Actor       *actor.PID
	Position    types.Vector2[int16]
	CharacterId uint32
}

type ItemSpawn

type ItemSpawn struct {
}

type LeaveMap

type LeaveMap struct {
	ID uint32
}

맵에서 오브젝트 제거

type LifeAddHp

type LifeAddHp struct {
	Hp int
}

type MapBroadcastRange

type MapBroadcastRange struct {
	Sender     *actor.PID
	Pivot      types.Vector2[int16]
	Message    any
	ExceptSelf bool
}

type MapChange

type MapChange struct {
	CharacterId uint32
	Sender      *actor.PID
	To          *actor.PID
	SpawnPoint  uint8
}

type MapItemLoot

type MapItemLoot struct {
	Actor       *actor.PID
	OID         uint32
	CharacterId uint32
	Position    types.Vector2[int16]
}

type MapPIDList

type MapPIDList struct {
	Targets []*actor.PID
}

응답 메시지: PID 리스트

type MapRemoveItem

type MapRemoveItem struct {
	Actor       *actor.PID
	OID         uint32
	CharacterId uint32
	Mode        resp.RemoveItemType
	Position    types.Vector2[int16]
}

type MapSpawnItem

type MapSpawnItem struct {
	Item    entity.Item
	Owner   *actor.PID
	OwnerID uint32
}

type MapSpawnMeso

type MapSpawnMeso struct {
	Count        int32
	SpawnedPoint types.Vector2[int16]
	Owner        *actor.PID
	OwnerID      uint32
}

type MapSpawnNpc

type MapSpawnNpc struct {
	Sender *actor.PID
}

type MesoSpawn

type MesoSpawn struct {
}

type NpcClick

type NpcClick struct {
	Sender *actor.PID
}

type QueryAllPIDs

type QueryAllPIDs struct {
	ReplyTo *actor.PID
}

맵에 존재하는 모든 PID 요청

type ResumeScript

type ResumeScript struct {
	L    *lua.LState
	Args []lua.LValue
}

type RunScript

type RunScript struct {
	Script string
}

type SendMessage

type SendMessage struct {
	OID     uint32
	Message any
}

type Warped

type Warped struct {
	Sender *actor.PID
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL