Skip to content

Conversation

@sklett-src
Copy link

No description provided.

GraylinKim and others added 30 commits September 22, 2013 15:18
* PacketEvent is now ProgressEvent.
* SetToHotkeyEvent is now SetControlGroupEvent.
* AddToHotkeyEvent is now AddToControlGroupEvent.
* GetFromHotkeyEvent is now GetControlGroupEvent.
* PlayerAbilityEvent is no longer part of the event hierarchy.
* event.name is no longer a class property; it can only be accessed from an event instance.
People that want map attribute information can run the relevant
s2gs files through and get proper mappings for their use case.
This way people can reliably catch this issue and deal with it as
they wish.
Renames all ability events as following:

* AbilityEvent -> CommandEvent
* AbilityEvent -> BasicCommandEvent
* TargetAbilityEvent -> TargetUnitCommandEvent
* LocationAbilityEvent -> TargetPointCommandEvent

As such, all references to these classes, statements that check the event name,
and engine plugin event handlers need to be renamed. Its not ideal but it is
much better than being wrong.
The dynamically created classes don't play well with pickle and
were unncessarily complex. The only change here is that you can't
use this anymore.

  unit._type_class.__class__.__name__

Instead you can use the shorter:

  unit._type_class.name

No problem.
Remove registered readers/datapacks on picking. We won't need them
anymore, the replay should already be loaded.
dsjoerg and others added 28 commits June 23, 2017 10:28
support build 54724 units and abilities
Python 3.3 goes [EOL](https://docs.python.org/devguide/index.html#branchstatus) in a few weeks so drop it from testing and add Python 3.6.
Add Python 2.7 and 3.6 to the testing and flake8 as well
Define print() function and raw_input for Python 3
Python 2.7.12 instead of 2.7.13
Be explicit about the error for flake8
Corrected mispelling of 'collection'
@sklett-src sklett-src closed this Apr 27, 2018
@sklett-src sklett-src reopened this Apr 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.