resource

package
v0.0.0-...-f84f93e Latest Latest
Warning

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

Go to latest
Published: May 30, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ROOM_CARD uint32 = 4
)

Variables

View Source
var RES_HASH = map[uint32]string{
	4: "RoomCard",
}

Functions

func ChangeMulti

func ChangeMulti(userdata interfacer.IPlayer, res map[uint32]int32, Type uint32) error

更改多个资源

func ChangeRes

func ChangeRes(c interfacer.IPlayer, id uint32, count int32, Type uint32) error

更改单个资源

func NotifyChangeRes

func NotifyChangeRes(userid string, id uint32, count int32) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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