How to use the sc2reader.data.utils.DataObject function in sc2reader

To help you get started, we’ve selected a few sc2reader examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github GraylinKim / sc2reader / sc2reader / data / base.py View on Github external
class Critter(Moveable):
    pass

class Destructable(DataObject):
    pass

class Attacker(DataObject):
    pass

class Army(Moveable, Attacker):
    pass

class Unit(DataObject):
    pass

class Supporter(DataObject):
    pass

class Research(Building):
    pass

class Production(Building):
    pass

class Worker(Moveable, Attacker):
    pass

###################################
## Terran Specific Classifications

class TerranBuilding(Building):
    pass
github GraylinKim / sc2reader / sc2reader / data / base.py View on Github external
class Moveable(DataObject):
    pass

class Critter(Moveable):
    pass

class Destructable(DataObject):
    pass

class Attacker(DataObject):
    pass

class Army(Moveable, Attacker):
    pass

class Unit(DataObject):
    pass

class Supporter(DataObject):
    pass

class Research(Building):
    pass

class Production(Building):
    pass

class Worker(Moveable, Attacker):
    pass

###################################
## Terran Specific Classifications
github GraylinKim / sc2reader / sc2reader / data / base.py View on Github external
class CyberneticsCore(Protoss, Building):
        code = 0x6401


    ###################
    ## Zerg
    ###################

    class Broodling(Zerg, Moveable, Attacker):
        code = 0xcf01

    class InfestedTerranEgg(Zerg, DataObject):
        code = 0xb001

    class Larva(Zerg, DataObject):
        code = 0xb101

    class Changeling(Zerg, Moveable, Supporter):
        code = 0x2601

    class ChangelingZealot(Changeling):
        code = 0x2701

    class ChangelingMarine(Changeling):
        code = 0x2801

    class ChangelingMarineShield(ChangelingMarine):
        code = 0x2901

    class ChangelingZergling(Changeling):
        code = 0x2a01
github GraylinKim / sc2reader / sc2reader / data / base.py View on Github external
class Uprooted(Zerg, Building, Moveable):
            code = 0xa601

    class SporeCrawler(Zerg, Building, Attacker):
        code = 0x7f01
        class Uprooted(Zerg, Building, Moveable):
            code = 0xa701

    class InfestedTerran(Zerg, Moveable, Attacker):
        code = 0x2101
        class Burrowed(Zerg, DataObject):
            code = 0x9401

    class Baneling(Zerg, Moveable, Attacker):
        code = 0x2301
        class Cocoon(Zerg, DataObject):
            code = 0x2201
        class Burrowed(Zerg, DataObject):
            code = 0x8f01

    class Egg(Zerg, DataObject):
        code = 0x8301

    class Drone(Zerg, Worker):
        code = 0x8401
        class Burrowed(Zerg, DataObject):
            code = 0x9001

    class Zergling(Zerg, Moveable, Attacker):
        code = 0x8501
        class Burrowed(Zerg, DataObject):
            code = 0x9301
github GraylinKim / sc2reader / sc2reader / data / base.py View on Github external
code = 0x9301

    class Overlord(Zerg, Moveable, Supporter):
        code = 0x8601

    class Hydralisk(Zerg, Moveable, Attacker):
        code = 0x8701
        class Burrowed(Zerg, DataObject):
            code = 0x9101

    class Mutalisk(Zerg, Moveable, Attacker):
        code = 0x8801

    class Ultralisk(Zerg, Moveable, Attacker):
        code = 0x8901
        class Burrowed(Zerg, DataObject):
            code = 0x9f01

    class Roach(Zerg, Moveable, Attacker):
        code = 0x8a01
        class Burrowed(Zerg, Moveable):
            code = 0x9201

    class Infestor(Zerg, Moveable, Supporter):
        code = 0x8b01
        class Burrowed(Zerg, Moveable):
            code = 0x9b01

    class Corruptor(Zerg, Moveable, Attacker):
        code = 0x8c01

    class Broodlord(Zerg, Moveable, Attacker):
github GraylinKim / sc2reader / sc2reader / data / base.py View on Github external
class GreaterSpire(Zerg, Building):
        code = 0x8201

    class SpineCrawler(Zerg, Building, Attacker):
        code = 0x7e01
        class Uprooted(Zerg, Building, Moveable):
            code = 0xa601

    class SporeCrawler(Zerg, Building, Attacker):
        code = 0x7f01
        class Uprooted(Zerg, Building, Moveable):
            code = 0xa701

    class InfestedTerran(Zerg, Moveable, Attacker):
        code = 0x2101
        class Burrowed(Zerg, DataObject):
            code = 0x9401

    class Baneling(Zerg, Moveable, Attacker):
        code = 0x2301
        class Cocoon(Zerg, DataObject):
            code = 0x2201
        class Burrowed(Zerg, DataObject):
            code = 0x8f01

    class Egg(Zerg, DataObject):
        code = 0x8301

    class Drone(Zerg, Worker):
        code = 0x8401
        class Burrowed(Zerg, DataObject):
            code = 0x9001
github GraylinKim / sc2reader / sc2reader / data / base.py View on Github external
class SporeCrawler(Zerg, Building, Attacker):
        code = 0x7f01
        class Uprooted(Zerg, Building, Moveable):
            code = 0xa701

    class InfestedTerran(Zerg, Moveable, Attacker):
        code = 0x2101
        class Burrowed(Zerg, DataObject):
            code = 0x9401

    class Baneling(Zerg, Moveable, Attacker):
        code = 0x2301
        class Cocoon(Zerg, DataObject):
            code = 0x2201
        class Burrowed(Zerg, DataObject):
            code = 0x8f01

    class Egg(Zerg, DataObject):
        code = 0x8301

    class Drone(Zerg, Worker):
        code = 0x8401
        class Burrowed(Zerg, DataObject):
            code = 0x9001

    class Zergling(Zerg, Moveable, Attacker):
        code = 0x8501
        class Burrowed(Zerg, DataObject):
            code = 0x9301

    class Overlord(Zerg, Moveable, Supporter):
github GraylinKim / sc2reader / sc2reader / data / base.py View on Github external
class Protoss(object):
    pass

class Zerg(object):
    pass

class Terran(object):
    pass

class Main(object):
    pass

class Resource(DataObject):
    pass

class Building(DataObject):
    pass

class MineralField(Resource):
    pass

class RichMineralField(MineralField):
    pass

class VespeneGeyser(Resource):
    pass

class RichVespeneGeyser(VespeneGeyser):
    pass

class Moveable(DataObject):
    pass
github GraylinKim / sc2reader / sc2reader / data / base.py View on Github external
## Unit Classifiers
############################

class Protoss(object):
    pass

class Zerg(object):
    pass

class Terran(object):
    pass

class Main(object):
    pass

class Resource(DataObject):
    pass

class Building(DataObject):
    pass

class MineralField(Resource):
    pass

class RichMineralField(MineralField):
    pass

class VespeneGeyser(Resource):
    pass

class RichVespeneGeyser(VespeneGeyser):
    pass
github GraylinKim / sc2reader / sc2reader / data / base.py View on Github external
class Corruptor(Zerg, Moveable, Attacker):
        code = 0x8c01

    class Broodlord(Zerg, Moveable, Attacker):
        code = 0x8e01
        class Cocoon(Zerg, DataObject):
            code = 0x8d01

    class Queen(Zerg, Moveable, Attacker):
        code = 0x9a01
        class Burrowed(Zerg, DataObject):
            code = 0x9901

    class Overseer(Zerg, Moveable, Supporter):
        code = 0x9d01
        class Cocoon(Zerg, DataObject):
            code = 0x9c01

    class CreepTumorBurrowed(CreepTumor):
        code = 0xa501

    class NydusWorm(Zerg, Building):
        code = 0xa901

    ########################
    ## Neutral
    ########################

    class XelnagaTower(DataObject):
        code = 0xad01

    class Scantipede(Critter):