func (client *Player) PySet_appearance(value py.Object) error { fn := pybind.Wrap(client.SetAppearance) args, err := py.PackTuple(value) if err != nil { return err } _, err = fn(args, nil) return err }
func (p *Profile) Py_deserialize(args *py.Tuple, kwds *py.Dict) (py.Object, error) { fn := pybind.Wrap(func(obj string) { err := p.UnmarshalJSON([]byte(obj)) if err != nil { panic(err) } }) return fn(args, nil) }
func (m *PyModule) PyGet_ctx() (py.Object, error) { fn := pybind.Wrap(func() py.Object { if ctx, ok := m.Module.Ctx().(*PyContext); ok { return ctx } py.None.Incref() return py.None }) return fn(nil, nil) }
func (p *Profile) Py_serialize(args *py.Tuple, kwds *py.Dict) (py.Object, error) { fn := pybind.Wrap(func() string { obj, err := json.Marshal(p) if err != nil { panic(err) } return string(obj) }) return fn(args, nil) }
func (pos *Absolute) Py_local_to(args *py.Tuple, kwds *py.Dict) (py.Object, error) { fn := pybind.Wrap(pos.LocalTo) return fn(args, kwds) }
func (pos *Absolute) PyGet_region() (py.Object, error) { fn := pybind.Wrap(pos.RegionOf) return fn(nil, nil) }
func (c *Collection) PyGet_removing() (py.Object, error) { fn := pybind.Wrap(c.Removing) return fn(nil, nil) }
func (c *Connection) PyGet_log() (py.Object, error) { fn := pybind.Wrap(c.Log) return fn(nil, nil) }
func (s *Slice) Py_add(args *py.Tuple, kwds *py.Dict) (py.Object, error) { fn := pybind.Wrap(s.Add) return fn(args, kwds) }
func (local *Local) PyGet_region() (py.Object, error) { fn := pybind.Wrap(local.Region) return fn(nil, nil) }
func (region *Region) Py_rebase(args *py.Tuple, kwds *py.Dict) (py.Object, error) { fn := pybind.Wrap(region.Rebase) return fn(args, kwds) }
func (l *List) Py_add_all(args *py.Tuple, kwds *py.Dict) (py.Object, error) { fn := pybind.Wrap(l.AddAll) return fn(args, kwds) }
func (l *List) Py_remove_all(args *py.Tuple, kwds *py.Dict) (py.Object, error) { fn := pybind.Wrap(l.RemoveAll) return fn(args, kwds) }
func (s *Slice) PyGet_size() (py.Object, error) { fn := pybind.Wrap(s.Size) return fn(nil, nil) }
func (s *Slice) Py_filter(args *py.Tuple, kwds *py.Dict) (py.Object, error) { fn := pybind.Wrap(s.Filter) return fn(args, kwds) }
func (s *Slice) Py_empty(args *py.Tuple, kwds *py.Dict) (py.Object, error) { fn := pybind.Wrap(s.Empty) return fn(args, kwds) }
func (sector *Sector) PyGet_z() (py.Object, error) { fn := pybind.Wrap(sector.Z) return fn(nil, nil) }
func (local *Local) PyGet_absolute() (py.Object, error) { fn := pybind.Wrap(local.Absolute) return fn(nil, nil) }
func (region *Region) PyGet_origin() (py.Object, error) { fn := pybind.Wrap(region.Origin) return fn(nil, nil) }
func (s *Skills) PyGet_combat_level() (py.Object, error) { fn := pybind.Wrap(s.CombatLevel) return fn(nil, nil) }
func (local *Local) PyGet_z() (py.Object, error) { fn := pybind.Wrap(local.Z) return fn(nil, nil) }
func (c *Context) Py_unpack(args *py.Tuple, kwds *py.Dict) (py.Object, error) { fn := pybind.Wrap(c.Unpack) return fn(args, kwds) }
func (area *Area) PyGet_min_sector() (py.Object, error) { fn := pybind.Wrap(area.MinSector) return fn(nil, nil) }
func (c *Collection) PyGet_entities() (py.Object, error) { fn := pybind.Wrap(c.Entities) return fn(nil, nil) }
func (world *Instance) Py_sector(args *py.Tuple, kwds *py.Dict) (py.Object, error) { fn := pybind.Wrap(world.Sector) return fn(args, kwds) }
func (area *Area) PyGet_max() (py.Object, error) { fn := pybind.Wrap(area.Max) return fn(nil, nil) }
func (s *Server) Py_stop(args *py.Tuple, kwds *py.Dict) (py.Object, error) { fn := pybind.Wrap(s.Stop) return fn(args, kwds) }
func (area *Area) Py_contains(args *py.Tuple, kwds *py.Dict) (py.Object, error) { fn := pybind.Wrap(area.Contains) return fn(args, kwds) }
func (c *Connection) Py_disconnect(args *py.Tuple, kwds *py.Dict) (py.Object, error) { fn := pybind.Wrap(c.Disconnect) return fn(args, kwds) }
func (pos *Absolute) PyGet_sector() (py.Object, error) { fn := pybind.Wrap(pos.Sector) return fn(nil, nil) }