examples

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CurQuests

type CurQuests struct {
	gentity.BaseMapDirtyMark
	// struct tag里面没有设置保存字段名,会默认使用字段名的全小写形式
	Quests map[int32]*pb.QuestData `db:""`
}

当前任务列表

func (*CurQuests) Add

func (c *CurQuests) Add(questData *pb.QuestData)

func (*CurQuests) Remove

func (c *CurQuests) Remove(questId int32)

type FinishedQuests

type FinishedQuests struct {
	gentity.BaseDirtyMark
	// struct tag里面没有设置保存字段名,会默认使用字段名的全小写形式
	Finished []int32 `db:"plain"` // 基础类型,设置明文存储
}

已完成的任务

func (*FinishedQuests) Add

func (f *FinishedQuests) Add(finishedQuestId int32)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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