Rename "union" semantics to "typeset".
This commit is contained in:
@@ -445,7 +445,7 @@ native void GetConVarName(Handle convar, char[] name, maxlength);
|
||||
*/
|
||||
native bool SendConVarValue(int client, Handle convar, const char[] value);
|
||||
|
||||
union ConVarQueryFinished
|
||||
typeset ConVarQueryFinished
|
||||
{
|
||||
// Called when a query to retrieve a client's console variable has finished.
|
||||
//
|
||||
|
||||
@@ -48,7 +48,7 @@ enum EventHookMode
|
||||
/**
|
||||
* Hook function types for events.
|
||||
*/
|
||||
union EventHook
|
||||
typeset EventHook
|
||||
{
|
||||
/**
|
||||
* Called when a game event is fired.
|
||||
@@ -273,4 +273,4 @@ methodmap Event < Handle {
|
||||
public SetString() = SetEventString;
|
||||
public GetName() = GetEventName;
|
||||
public SetBroadcast() = SetEventBroadcast;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -110,7 +110,7 @@ enum RayType
|
||||
RayType_Infinite /**< The trace ray will go from the start position to infinity using a direction vector. */
|
||||
};
|
||||
|
||||
union TraceEntityFilter
|
||||
typeset TraceEntityFilter
|
||||
{
|
||||
/**
|
||||
* Called on entity filtering.
|
||||
|
||||
@@ -123,7 +123,7 @@ native SortCustom1D(array[], array_size, SortFunc1D:sortfunc, Handle:hndl=INVALI
|
||||
* 0 if first is equal to second
|
||||
* 1 if first should go after second
|
||||
*/
|
||||
union SortFunc2D
|
||||
typeset SortFunc2D
|
||||
{
|
||||
function int (int[] elem1, int[] elem2, const int[][] array, Handle hndl);
|
||||
function int (char[] elem1, char[] elem2, const char[][] array, Handle hndl);
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
/**
|
||||
* Any of the following prototypes will work for a timed function.
|
||||
*/
|
||||
union Timer
|
||||
typeset Timer
|
||||
{
|
||||
/**
|
||||
* Called when the timer interval has elapsed.
|
||||
|
||||
Reference in New Issue
Block a user