mirror of
https://github.com/Anime-Game-Servers/AnimeGamesLua.git
synced 2024-11-26 22:00:32 +00:00
[ScriptLib] add SetPlayerGroupVisionType function and replaced the placeholder params with proper params for the PlayerGroupVisionType functions
This commit is contained in:
parent
f6a8043679
commit
631cf4f080
@ -680,18 +680,25 @@ public class ScriptLib {
|
||||
return context.getScriptLibHandler().ForceRefreshAuthorityByConfigId(context, var1, uid);
|
||||
}
|
||||
|
||||
public static int AddPlayerGroupVisionType(GroupEventLuaContext context, Object uidsTable, Object var2Table){
|
||||
val uids = context.getEngine().getTable(uidsTable);
|
||||
val var2 = context.getEngine().getTable(var2Table);
|
||||
return context.getScriptLibHandler().AddPlayerGroupVisionType(context, uids, var2);
|
||||
public static int AddPlayerGroupVisionType(GroupEventLuaContext context, Object uidsTable, Object visionTypesTable){
|
||||
val uids = context.getEngine().getTable(uidsTable).getAsIntArray();
|
||||
val visionTypes = context.getEngine().getTable(visionTypesTable).getAsIntArray();
|
||||
return context.getScriptLibHandler().AddPlayerGroupVisionType(context, uids, visionTypes);
|
||||
}
|
||||
|
||||
public static int DelPlayerGroupVisionType(GroupEventLuaContext context, Object uidsTable, Object var2Table){
|
||||
val uids = context.getEngine().getTable(uidsTable);
|
||||
val var2 = context.getEngine().getTable(var2Table);
|
||||
return context.getScriptLibHandler().DelPlayerGroupVisionType(context, uids, var2);
|
||||
public static int DelPlayerGroupVisionType(GroupEventLuaContext context, Object uidsTable, Object visionTypesTable){
|
||||
val uids = context.getEngine().getTable(uidsTable).getAsIntArray();
|
||||
val visionTypes = context.getEngine().getTable(visionTypesTable).getAsIntArray();
|
||||
return context.getScriptLibHandler().DelPlayerGroupVisionType(context, uids, visionTypes);
|
||||
}
|
||||
|
||||
public static int SetPlayerGroupVisionType(GroupEventLuaContext context, Object uidsTable, Object visionTypesTable){
|
||||
val uids = context.getEngine().getTable(uidsTable).getAsIntArray();
|
||||
val visionTypes = context.getEngine().getTable(visionTypesTable).getAsIntArray();
|
||||
return context.getScriptLibHandler().SetPlayerGroupVisionType(context, uids, visionTypes);
|
||||
}
|
||||
|
||||
|
||||
public static int MoveAvatarByPointArray(GroupEventLuaContext context, int uid, int targetId, Object var3Table, String var4){
|
||||
val var3 = context.getEngine().getTable(var3Table);
|
||||
return context.getScriptLibHandler().MoveAvatarByPointArray(context, uid, targetId, var3, var4);
|
||||
|
@ -242,9 +242,10 @@ public interface ScriptLibHandler<GroupEventContext extends GroupEventLuaContext
|
||||
|
||||
int ForceRefreshAuthorityByConfigId(GroupEventContext context, int var1, int uid);
|
||||
|
||||
int AddPlayerGroupVisionType(GroupEventContext context, LuaTable uidsTable, LuaTable var2);
|
||||
int AddPlayerGroupVisionType(GroupEventContext context, int[] uids, int[] visionTypeList);
|
||||
|
||||
int DelPlayerGroupVisionType(GroupEventContext context, LuaTable uidsTable, LuaTable var2);
|
||||
int DelPlayerGroupVisionType(GroupEventContext context, int[] uids, int[] visionTypeList);
|
||||
int SetPlayerGroupVisionType(GroupEventContext context, int[] uids, int[] visionTypeList);
|
||||
|
||||
int MoveAvatarByPointArray(GroupEventContext context, int uid, int targetId, LuaTable var3, String var4);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user