Example #1
0
class Fighter_Part2(Fighter_Part1):
    fl = pb.List(Float, label='fl')
    bl = pb.List(Bytes, label='bl')
    sl = pb.List(String, label='sl')
    bd = pb.Dict(String, Bytes, label='bd')
    sd = pb.Dict(Integer, String, label='sd')
    el = pb.List(Corpus, label='el')
    ed = pb.Dict(Long, Corpus, label='ed')
    ll = pb.List(List(Float), label='ll')
Example #2
0
class Fighter_Part1(Object):
    pos = pb.Instance(Vector2, label='坐标')
    isAwake = pb.Boolean(default=False)
    hp = pb.Float(default=100, label='血量')
    poss = pb.Dict(Long, Vector2, label='poss')
    posi = pb.Dict(Integer, Float, label='posi')
    posl = pb.List(Vector2, label='posl')
    posll = pb.List(List(Vector2), label='posll')
    pyl = pb.List(Python(PyType), label='pyl')
    pyd = pb.Dict(Integer, Python(PyType), label='pyd')
    pyv1 = pb.Instance(Integer, Python(PyType), label='pyv1')
    pyv2 = pb.Instance(Integer, Python(PyType), label='pyv2')
Example #3
0
class onInitRuntime(Object):
    skillID = pb.Integer
    ownerID = pb.Bytes
    skillIdx = pb.Integer
    flowID = pb.Integer
    unitIndex = pb.Integer
    uiid = pb.Integer
    prev = pb.Integer
    buckID = pb.Bytes
    params = pb.List(SkillParam)
    events = pb.List(Integer)
    specificEvents = pb.Dict(Bytes, List(Integer))
    passBuckEvents = pb.List(Integer)
Example #4
0
class SkillParam(Object):
    buckID = pb.Bytes
    targetID = pb.Bytes
    origPos = pb.Python(Vector3)
    origRot = pb.Python(Vector3)
    destPos = pb.Python(Vector3)
    destRot = pb.Python(Vector3)
    extraParam = pb.Dict(Bytes, Instance(Integer, Boolean, Float, Bytes))
    targetIDs = pb.List(Bytes)
Example #5
0
class Fighter(Fighter_Part2):
    v0 = pb.Instance(Integer, Float, Bytes, Vector2, label='v0')
    v1 = pb.Instance(Integer, Float, Bytes, Vector2, label='v1')
    v2 = pb.Instance(Integer, Float, String, Vector2, label='v2')
    v3 = pb.Instance(Integer, Float, String, Vector2, label='v3')
    v4 = pb.Instance(Integer, Float, String, Vector2, label='v4')
    vl = pb.List(Integer, FixedPoint(3), String, Vector2, label='vl')
    vd = pb.Dict(Integer, (Corpus, Double, String, Vector2), label='vd')
    ld = pb.Dict(Integer, List(Corpus, Double, String, Vector2), label='ld')
    fld = pb.Dict(Integer, List(Float), label='fld')
    dd = pb.Dict(Integer,
                 Dict(Integer, Corpus, Double, String, Vector2),
                 label='dd')
    fdd = pb.Dict(Integer, Dict(Integer, Float), label='fdd')
    nv = pb.Instance(None, Integer, label='nv')
    lv = pb.Instance(Integer, List(Float, String), label='lv')
    flv = pb.Instance(Integer, List(Float), label='flv')
    dv = pb.Instance(Integer, Dict(Integer, Float, String), label='dv')
    fdv = pb.Instance(Integer, Dict(Integer, Float), label='fdv')
Example #6
0
class BooleanList(Object):
    bl = pb.List(Boolean)