conf

package
v0.0.0-...-7a247c9 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Friends = []string{
	"无", "胡斐", "程灵素", "苗人凤", "阎基",
	"张三丰", "灭绝", "何太冲", "唐文亮", "张无忌",
	"范遥", "杨逍", "殷天正", "谢逊", "韦一笑",
	"金花婆婆", "胡青牛", "王难姑", "成昆", "岳不群",
	"莫大", "定闲", "左冷禅", "天门", "余沧海",
	"蓝凤凰", "任我行", "东方不败", "平一指", "田伯光",
	"风清扬", "丹青生", "秃笔翁", "黑白子", "黄钟公",
	"令狐冲", "林平之", "狄云", "石破天", "龙岛主",
	"木岛主", "张三", "李四", "白万剑", "岳老三",
	"薛慕华", "丁春秋", "阿紫", "游坦之", "虚竹",
	"乔峰", "慕容复", "苏星河", "段誉", "袁承志",
	"郭靖", "黄蓉", "黄药师", "杨过", "小龙女",
	"欧阳锋", "欧阳克", "金轮法王", "程英", "周伯通",
	"一灯", "瑛姑", "裘千仞", "丘处机", "洪七公",
	"玄慈", "洪教主", "孔八拉", "南贤", "北丑",
	"厨师", "王语嫣", "巨蟒", "蟒牯朱蛤",
}
View Source
var FriendsID = map[string]int{}
View Source
var Gongfu = []string{"无",
	"野球拳", "武当长拳", "罗汉拳", "灵蛇拳",
	"神王毒掌", "七伤拳", "混元掌", "寒冰绵掌",
	"鹰爪功", "逍遥掌", "铁掌", "幻阴指",
	"寒冰神掌", "千手如来掌", "天山六阳掌", "玄冥神掌",
	"冰蚕毒掌", "龙象般若功", "一阳指", "太极拳",
	"空明拳", "蛤蟆功", "太玄神功", "黯然销魂掌",
	"降龙十八掌", "葵花神功", "化功大法", "吸星大法",
	"北冥神功", "六脉神剑", "躺尸剑法", "青城剑法",
	"冰雪剑法", "恒山剑法", "泰山剑法", "衡山剑法",
	"华山剑法", "嵩山剑法", "全真剑法", "峨嵋剑法",
	"武当剑法", "万花剑法", "泼墨剑法", "雪山剑法",
	"泰山十八盘", "回峰落雁剑法", "两仪剑法", "太岳三青峰",
	"玉女素心剑", "逍遥剑法", "慕容剑法", "倚天剑法",
	"七星剑法", "金蛇剑法", "苗家剑法", "玉箫剑法",
	"玄铁剑法", "太极剑法", "达摩剑法", "辟邪剑法",
	"独孤九剑", "西瓜刀法", "血刀大法", "狂风刀法",
	"反两仪刀法", "火焰刀法", "胡家刀法", "霹雳刀法",
	"神龙双钩", "大轮杖法", "怪异武器", "炼石弹",
	"叫化棍法", "火焰发射器", "鳄鱼剪", "大蜘蛛",
	"毒龙鞭法", "黄沙万里鞭法", "雪怪", "判官笔",
	"持棋盘", "大剪刀", "持瑶琴", "大莽蛇",
	"金花杖法", "神龙鹿杖", "打狗棍法", "五轮大法",
	"松风剑法", "普通攻击", "狮子吼", "九阳神功",
}
View Source
var GongfuID = map[string]int{}

Functions

func ExecutablePath

func ExecutablePath() (string, error)

func ExitIfError

func ExitIfError(err error)

func Int16

func Int16(buf []byte, index int) int16

func Mmap

func Mmap(f *os.File) ([]byte, error)

func Munmap

func Munmap(buf []byte) error

func ParseInt16

func ParseInt16(s string) (int16, error)

func SavesPath

func SavesPath(dir string) ([]string, error)

func SetInt16

func SetInt16(buf []byte, index int, value int16)

func SetUint16

func SetUint16(buf []byte, index int, value uint16)

func Uint16

func Uint16(buf []byte, index int) uint16

Types

type Property

type Property []byte

func (Property) Body

func (p Property) Body() int16

体力

func (Property) DoubleAttack

func (p Property) DoubleAttack() bool

左右互搏

func (Property) Friend

func (p Property) Friend(i int) int16

朋友

func (Property) Jingyan

func (p Property) Jingyan(i int) int16

武功经验

func (Property) Life

func (p Property) Life() int16

当前生命值

func (Property) MaxLife

func (p Property) MaxLife() int16

生命最大值

func (Property) Morality

func (p Property) Morality() int16

道德

func (Property) Poisonous

func (p Property) Poisonous() int16

功夫带毒

func (Property) Qualification

func (p Property) Qualification() int16

资质

func (Property) Resistance

func (p Property) Resistance() int16

毒抗

func (Property) Sense

func (p Property) Sense() int16

武学常识

func (Property) UpdateBody

func (p Property) UpdateBody(i int16) Property

体力

func (Property) UpdateDoubleAttack

func (p Property) UpdateDoubleAttack(b bool) Property

左右互搏

func (Property) UpdateFriend

func (p Property) UpdateFriend(i int, v int16) Property

朋友

func (Property) UpdateJingyan

func (p Property) UpdateJingyan(i int, v int16) Property

武功经验

func (Property) UpdateLife

func (p Property) UpdateLife(i int16) Property

当前生命值

func (Property) UpdateMaxLife

func (p Property) UpdateMaxLife(i int16) Property

生命最大值

func (Property) UpdateMorality

func (p Property) UpdateMorality(i int16) Property

道德

func (Property) UpdatePoisonous

func (p Property) UpdatePoisonous(i int16) Property

功夫带毒

func (Property) UpdateQualification

func (p Property) UpdateQualification(i int16) Property

资质

func (Property) UpdateResistance

func (p Property) UpdateResistance(i int16) Property

毒抗

func (Property) UpdateSense

func (p Property) UpdateSense(i int16) Property

武学常识

func (Property) UpdateWugong

func (p Property) UpdateWugong(i int, v int16) Property

武功

func (Property) Wugong

func (p Property) Wugong(i int) int16

武功

Jump to

Keyboard shortcuts

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